Permission problem with rsync in daemon mode

Wayne Davison wayned at
Wed Dec 28 18:06:16 GMT 2005

On Wed, Dec 28, 2005 at 09:21:37AM -0800, Jonathan Chen -X (jonachen - The Armada Group,  Inc. at Cisco) wrote:
> sudo rsync --archive --compress -vv --sparse --progress -e ssh
> jon at linuxhost::netegrity /users/jon/test/
> The /users/jon/test/ is owned by jon:jon while the "netegrity" dir on
> the rsync server has root:root ownership.

The "netegrity" in that command is a module name, not a directory, so
that name is not duplicated in the destination.  If the module contains
a nested netegrity directory, then switching your source to use
"jon at linuxhost::netegrity/netegrity" will ensure that the parent
directory's permissions/ownership don't affect the test dir.  If not,
switching the destination to "/users/jon/test/netegrity" will put the
contents of the module in that directory (which may be what you were
expecting to happen).


More information about the rsync mailing list