Preserving Permissions using server

Catalino Cuadrado ccuadrado at mail.wesleyan.edu
Mon Jul 29 11:32:01 EST 2002


Hi!:) - try using the sudo command as a prefix to all of that. I know
that if I didn't do that it would default to nobody.nobody when I copied.
-Tito
>
> Hi All,
>            I recently installed Rsync to perform backup features - this
> includes backing up a /home dir and keeping ownerships/permissions
> intact is obviously very important....
>
> However when I perform.
> (current working path is /home)
> rsync -azv --progress --stats * andrew at 192.168.0.2::tmp/home
>
> and on the server side of things... I have it setup like so -
>
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
>
> [tmp]
>    path = /usr/rsync/tmp
>    comment = Temp
>    uid = nobody
>    gid = nobody
>    read only = no
>    list = yes
>    auth users = andrew
>    secrets file = /etc/rsyncd.secrets
>
> The permissions are kept well - but the owership isn't kept - instead it
> is set to nobody.nobody on the server - any ideas?
>
> Many thanks - I know it is something small - but I am not sure what it is :(
>
> I am running a turbolinux 6.5 server system for reference.
>
> Andrew.
>
>
>
>
>
> --__--__--
>
> Message: 5
> Date: Mon, 29 Jul 2002 07:32:26 -0700 (PDT)
> From: S Peram <perams27 at yahoo.com>
> Subject: rsync from Windows and Linux over ssh
> To: rsync at lists.samba.org
>
> Hi All,
> I'm a newbie to RSYNC on Windows.
> I installed RSYNC(version 2.5.1) on Windows and it is
> running as a service on Windows 2000.
> I've been trying to copy some files using RSYNC on
> linux machine running RH Linux 7.2 kernel 2.4.7 from
> Windows 2000 machines using the following command:
> $rsync -avz -e ssh <windows-machine>:/rsync/* .
> but i'm getting the following error
>
> "unexpected EOF in read_timeout".
> I'm running Openssh 3.4p1
> I tried to find info on the archives but they seem not
> related to this specific problem.
> I'd appreciate if any of you gurus help in this issue.
>
> Thanks,
> Peram
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
>
> --__--__--
>
> Message: 6
> From: tim.conway at philips.com
> To: Andrew <andrew at eon.com.au>
> Cc: rsync at lists.samba.org
> Subject: Re: problems preserving permissions -
> Date: Mon, 29 Jul 2002 08:06:56 -0700
>
> Andrew:  You have set the UID to "nobody".  Rsync is not exempt from the
> unix security model.  If you want to be able to preserve UID/GID, you will
> have to use UID "root" (which will allow GID to be ignored).
> Yeah, that is a security issue, but less than if "nobody" were free of
> security restraints.
>
> Tim Conway
> tim.conway at philips.com
> 303.682.4917 office, 3039210301 cell
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, 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?"
>
>
>
>
> Andrew <andrew at eon.com.au>
> Sent by: rsync-admin at lists.samba.org
> 07/29/2002 01:30 AM
>
>
>         To:     rsync at lists.samba.org
>         cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
>         Subject:        problems preserving permissions -
>         Classification:
>
>
>
> Hi All,
>            I recently installed Rsync to perform backup features - this
> includes backing up a /home dir and keeping ownerships/permissions
> intact is obviously very important....
>
> However when I perform.
> (current working path is /home)
> rsync -azv --progress --stats * andrew at 192.168.0.2::tmp/home
>
> and on the server side of things... I have it setup like so -
>
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
>
> [tmp]
>    path = /usr/rsync/tmp
>    comment = Temp
>    uid = nobody
>    gid = nobody
>    read only = no
>    list = yes
>    auth users = andrew
>    secrets file = /etc/rsyncd.secrets
>
> The permissions are kept well - but the owership isn't kept - instead it
> is set to nobody.nobody on the server - any ideas?
>
> Many thanks - I know it is something small - but I am not sure what it is
> :(
>
> I am running a turbolinux 6.5 server system for reference.
>
> Andrew.
>
>
>
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
>
>
>
>
>
> --__--__--
>
> Message: 7
> Date: Mon, 29 Jul 2002 21:41:54 +0530
> From: Biju Perumal <biperuma at npd.hcltech.com>
> To: rsync at lists.samba.org
> Subject: Fundamental rsync design question.
>
> Hi folks,
>
>       Was looking at a commercial product which does something similar
> to rsync.
> It seems to optimise incremental change determination by logging the
> changes that
> have occured since the first full transfer happened, using techniques
> common in snapshot techniques.
>
>     Is there any reason for rsync not using this approach ? Is it the
> space constraints
> imposed by a logging approach or something ? Cos, this logging/snapshot
> approach
> definitely seems less cpu intensive, faster and more reliable (using a
> checkpoint
> algo).
>
>     Any thoughts welcome,
>
> Regards,
> Biju Perumal
>
>
>
>
>
>
>
> --__--__--
>
> _______________________________________
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
>
> rsync mailing list
> rsync at lists.samba.org
> http://lists.samba.org/mailman/listinfo/rsync
>
>
> End of rsync Digest
>





More information about the rsync mailing list