Permission problem with rsync in daemon mode
Jonathan Chen -X (jonachen - The Armada Group,
Inc. at Cisco)
jonachen at cisco.com
Wed Dec 28 18:27:59 GMT 2005
Apologize for the confusion. I am aware the module name is not
duplicated on the destination.
So it would copy "/tools/netegrity/siteminder/" to destination
~jon/test/siteminder with permission like below.
drwxr-xr-x 3 cdemgr cdemgr 4096 Apr 5 2005 siteminder
The "/tools/netegrity/" permission is like above.
Still I just don't understand why it changes the ~jon/test ownership to
'cdemgr'too. Where did I misconfigure or assume?
> -----Original Message-----
> From: Wayne Davison [mailto:wayned at samba.org]
> Sent: Wednesday, December 28, 2005 10:06 AM
> To: Jonathan Chen -X (jonachen - The Armada Group, Inc. at Cisco)
> Cc: rsync at lists.samba.org
> Subject: Re: Permission problem with rsync in daemon mode
>
> 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).
>
> ..wayne..
>
More information about the rsync
mailing list