[Cialug] nfs permissions

Jeffrey C. Ollie jeff at ocjtech.us
Thu Sep 30 18:09:07 CDT 2010


On Thu, Sep 30, 2010 at 5:56 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> On Thu, 30 Sep 2010, Jeffrey C. Ollie wrote:
>
> > Is the backup running as root?  By default NFS has a feature called "root
> > squashing" that changes the root userid to nobody.  You have to add the
> > "norootsquash" parameter to the exports file on the NFS server to disable
> > it.
> >
> Thanks! I saw that, but that's only half the problem - rsync must preserve
> UID/GIDs on the target files - it seems that is not possible with a nfs
> mount?


No, NFS should preserve UIDs/GIDs, unless the "all_squash" parameter got
turned on somehow.  It's supposed to be off by default though.  You could
add no_all_squash to the exports and see.

-- 
Jeff Ollie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100930/94eaf6f8/attachment.htm 


More information about the Cialug mailing list