jw at pegasys.ws
Fri Jan 23 19:36:01 GMT 2004
On Fri, Jan 23, 2004 at 09:09:44AM -0800, Wayne Davison wrote:
> On Fri, Jan 23, 2004 at 11:49:56AM -0500, donkey at boo.net wrote:
> > Does this mean that rsync requires that the destination directory be
> > owned by the user calling rsync and that it is not sufficient for the
> > user to have write permissions to that directory?
> It depends on what you're trying to do and what OS you're running. If
> you're just putting files into a directory, you don't need to own it.
> However, changes to the directory information (such as a mode change)
> requires that rsync have permissions to make the change, and that
> typically means owning the directory (or being root). Similar errors
> could be reported for files when the content doesn't change (i.e. the
> file isn't being recopied). Keep in mind that you'd get the same kind
> of error from "cp -p" if you don't own the file, so this is not an
> rsync-specific thing.
It would be possible to be specific if you told us what OS
and filesystem types are involved although specific info may
be lacking for some combinations.
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync