LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] NFS Exporting and Mounting.... A user perspective!

[ILUG] NFS Exporting and Mounting.... A user perspective!

Dunphy Richard-rdunph01 Rik.Dunphy at motorola.com
Thu Feb 22 12:07:56 GMT 2001


Hi All,

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:
   /etc/exports:
      /shared (rw)

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
   /etc/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!

TIA
RikD.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell