group ownership

Ronald D. Walkup rdwalkup at ti.com
Thu Oct 18 05:02:14 EST 2001


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