Just trying to get a small simple network of 4/5 machines up and running. I have one large filesystem which I nfs share out from the server:
I have created user groups, and users with the same uid and gid on both sides (client and server), e.g.
groupadd -g 152 devgroup
useradd -u 550 -g devgroup -d /home/userA -G users -m userA
I mount the share on the client using the following in fstab
server:/shared /shared nfs defaults,rw,exec,nosuid 0 0
This seems to mount the share ok, but when I write to it as userA the end result is user "nobody" and group "nogroup" . How do I get it so that it's user "userA" and group "devgroup"???
Basically, I want users to be able to protect their work from others. Having everybody as "nobody" won't help this!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!