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
Is the user you're rsyncing as a member of cdburners, or is he root?
Tim Conway
tim.conway@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@ti.com>@lists.samba.org on
10/17/2001 01:02:14 PM
Sent by: rsync-admin@lists.samba.org
To: rsync <rsync@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
willem wrote:> "Ronald D. Walkup" wrote: > > > 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 > > you need to execute the comman as root on the clientI tried that earlier to no avail: rclient01>id uid=0(root) gid=1(other) rclient01>rsync -avpz yam02::test /var/tmp/rsync_test rclient01>ls -al /var/tmp/rsync_test total 12 drwxr-xr-x 3 rwalkup visitor 512 Oct 17 15:01 . drwxrwxrwt 6 sys sys 1536 Oct 17 15:00 .. -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 Regards, Ron
"Ronald D. Walkup" wrote:> 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, > > Ronyou need to execute the comman as root on the client