[Cialug] nfs permissions

Jeffrey C. Ollie jeff at ocjtech.us
Thu Sep 30 17:53:59 CDT 2010


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

> Trying to setup a nas box for system backup, .. have not dealt much with
> nfs - is there any way to xet the permissions properly on files created in
> the mounted drive?
>
> For example, a file is created as nobody:nogroup, .. but a backup must
> perserve uid/gid & permissions for, say, home directories.
>
> I'd like to use rsnapshot to create a versioned backup, but it does not
> seem to be possible on a nfs drive?
>

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.
-- 
Jeff Ollie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100930/9e661c35/attachment.htm 


More information about the Cialug mailing list