Hi all, I was wondering, I run (inside another program) 'rsync' as 'root' using '--files-from'. It seems to error though on files with permissions where 'everyone' does not have read permissions (ie: permissions of '0640'). Is this the normal behaviour for 'rsync' could I be missing something? Thanks!
Sounds like rsync is being run, not as root, but as the same user as that of the program it is called from. It might be useful to know what you are doing that you think is running rsync as root. (In general, having one program with the ability to run a different program as root is maybe not such a good idea. Unlimited damage.) -----Original Message----- From: rsync-bounces+tony=servacorp.com@lists.samba.org [mailto:rsync-bounces+tony=servacorp.com@lists.samba.org]On Behalf Of Madison Kelly Sent: Thursday, September 22, 2005 2:05 PM To: rsync@lists.samba.org Subject: Running 'rsync' as root misses files Hi all, I was wondering, I run (inside another program) 'rsync' as 'root' using '--files-from'. It seems to error though on files with permissions where 'everyone' does not have read permissions (ie: permissions of '0640'). Is this the normal behaviour for 'rsync' could I be missing something? Thanks! -- To unsubscribe or change options: lists.samba.org/mailman/listinfo/rsync Before posting, read: catb.org/~esr/faqs/smart-questions.html
On Thu, Sep 22, 2005 at 03:05:17PM -0400, Madison Kelly wrote:> I was wondering, I run (inside another program) 'rsync' as 'root' > using '--files-from'. It seems to error though on files with permissions > where 'everyone' does not have read permissions (ie: permissions of > '0640').Are you reading from an NFS file system that treats root as nobody? ..wayne..
Maybe Matching Threads
- Rsync over samba mounts (bad file descriptor)
- Need Help with rsyncd.conf
- rsync local copy saves ower:group remote copy sets to rsync.conf owner:group
- Difference between rsync -r S1 S2 T and cp -r S1 S2 T
- How to get first level folder names with rsync commands?