Running 'rsync' as root misses files
Alexander R. Loker
arloker at pbs.org
Fri Nov 11 18:03:34 GMT 2005
Thanks!
Alex
Alex Loker
Senior UNIX Administrator, Enterprise Platforms
Public Broadcasting Service
1310 Braddock Place,
Alexandria, VA 22314
Office: 703-739-5080
Cell: 703-856-3514
arloker at pbs.org
-----Original Message-----
From: Paul Slootman [mailto:paul at debian.org]
Sent: Friday, November 11, 2005 12:35 PM
To: Alexander R. Loker
Cc: rsync at lists.samba.org
Subject: Re: Running 'rsync' as root misses files
On Fri 11 Nov 2005, Alexander R. Loker wrote:
> rsync. My rsync source files are all off of nfs mounts and the
> destination directories are all nfs mounts. The owner and groups all
end
> up as nobody/nobody on the destination, despite being all sorts of
> owners and groups on the source. Have you seen this, or are you aware
of
> any issues with nfs and rsync?
If you're running as root, and the NFS filesystems aren't exported with
no_root_squash (or equivalent), then root is effectively nobody/nobody
on those filesystems. That probably also means that root can't
chown/chgrp the files to their rightful owners.
You're always better off (if possible) running rsync from the system
that hosts NFS filesystems, because NFS means network traffic will
double, while the main idea about rsync is minimizing network traffic.
Paul Slootman
___________________________________________________________________
Big Big Friends are coming your way for Big Big Friend Day on PBS KIDS!
On November 25th, join pals from CLIFFORD and DRAGON TALES
For fun, surprises, and a peek at some brand new friends!
pbskids.org
___________________________________________________________________
This email may contain material that is confidential or proprietary to PBS and is intended solely for use by the intended recipient. Any review, reliance or distribution of such material by others, or forwarding of such material without express permission, is strictly prohibited. If you are not the intended recipient, please notify the sender and destroy all copies.
__________________________________________________________________
More information about the rsync
mailing list