[Klug-general] NFS + GIDs
jwm- art.net
jwm.art.net at gmail.com
Sun Nov 4 14:18:31 UTC 2012
Hello,
Hoping someone can help... I've setup NFS to run under Arch Linux, and a
client running Debian.
>From the client machine, the UIDs + GIDs of files look like so:
-rw-r--r-- 1 4294967294 4294967294 0 Nov 4 14:05 pop
-rw-r--r-- 1 4294967294 4294967294 12 Nov 4 13:11 test
I want at least for the GID to have some sensible value and decided to
create a new group on both machines with the same GID of 10000. So in the
/etc/exports I have this:
/srv/nfs/shared
Laptop(rw,all_squash,sync,no_subtree_check,anongid=10000)
setup as per: https://wiki.archlinux.org/index.php/Nfs#Server
And in the client's /etc/fstab:
Desktop:/srv/nfs/shared /desktop/shared nfs rw,bg,hard,intr
0 0
I didn't want to set anonuid in the server /etc/exports as I want to give
two user accounts on the client rw access to a shared folder, and ro access
to another folder.
Thanks for any help,
James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/kent/attachments/20121104/c05a1e15/attachment.html>
More information about the Kent
mailing list