group ownership

tim.conway at philips.com tim.conway at philips.com
Thu Oct 18 06:10:39 EST 2001


Is the user you're rsyncing as a member of cdburners, or is he root?

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips
Available as n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" '
"There are some who call me.... Tim?"





"Ronald D. Walkup" <rdwalkup at ti.com>@lists.samba.org on 10/17/2001 01:02:14 PM

Sent by:  rsync-admin at lists.samba.org


To:     rsync <rsync at lists.samba.org>
cc:      (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject:  group ownership
Classification:



I am attempting to rsync data from a rsync server and set the
permissions to a different gid on the client:

my servers name is "rserver01"

my clients name is "rclient01"

here is the rysync.conf  contained on rserver01:

# log file
log file = /var/adm/rsync_log

# global options for all modules
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
uid = nobody
gid = nobody
transfer logging=true
list=true

[test]
        path=/var/tmp/rsync_test
        comment = rsync_test
        read only = true
        hosts allow=rclient
        gid = cdburners


on the server, ls -al  of the source directory indicates that group
ownership is "visitor":

rserver01>ls -al
total 12
drwxr-xr-x   3 rwalkup  visitor      512 Oct 17 13:43 .
drwxrwxrwt   6 sys      sys         1536 Oct 17 13:31 ..
-rw-r--r--   1 rwalkup  visitor       79 Mar 13  2001 hosts
drwxr-xr-x   3 rwalkup  visitor      512 Mar 13  2001 inet
-rw-r--r--   1 rwalkup  visitor      330 Mar 21  2001 vfstab


I then execute the following syntax from the client:

rclien01> rsync -avz rserver01::test   /var/tmp/rsync_test



after the copy has completed,   I then execute:

rclient01> ls -al /var/tmp/rsync_test

total 12
drwxr-xr-x   3 rwalkup  visitor      512 Oct 17 13:49 .
drwxrwxrwt   6 sys      sys         1536 Oct 17 13:49 ..
-rw-r--r--   1 rwalkup  visitor       79 Mar 13  2001 hosts
drwxr-xr-x   3 rwalkup  visitor      512 Mar 13  2001 inet
-rw-r--r--   1 rwalkup  visitor      330 Mar 21  2001 vfstab


Is it not possible that the group ownerhip be changed to cdburners as
the rsyncd.conf file indicates?

cdburners exist on both client and server.

any ideas would be greatly appreciated.

Thanks,

Ron










More information about the rsync mailing list