[LUNI] Mounting NFS drive as User
d.w. harks
dave at dwink.net
Mon Nov 19 08:59:42 CST 2007
On 11/18/07, Michael Labowicz <mlabowicz at gmail.com> wrote:
>
> Hi Luni,
> <snip>
>
> Again, the drive mounts under NFS, but only the root user can access it.
>
> I've already tried chmodding the drive once mounted to allow for
> regular user access, but this screws up the permissions on the WinXP
> side... Any ideas?
This is actually exactly how NFS is supposed to work -- it expects that the
passwd file ( and therefore the uid's of the users & groups ) are shared
across the nodes of the network that will be sharing the storage. The common
way to set this up is to use NIS. Then, what happens is that the permissions
( users, groups, etc ) work the same on all the systems using the shared
storage.
There are options to mess with the uid's a bit -- check out the exports man
page under "User ID Mapping". You'll need to update things on the NFS server
where you're exporting the filesystem, not so much on the client where
you're mounting the exported FS.
Good luck!
dave
--
d.w. harks <dave at dwink.net> | http://www.dwink.net
More information about the luni
mailing list