Emanuel.strobl at gmx.net
Tue Aug 23 01:03:51 GMT 2005
Am Dienstag, 23. August 2005 02:51 CEST schrieb Eric Murphy:
> Hey guys...
> Ive setup a NFS correctly (I think) on my BSD 5.4 box
> in my rc.conf
> and its seems to be working...
> My question is this..
> I can mount the shares without anyproblems as root...
> I CAN NOT mount them as a user...
> Now I added my UID (1001) to my SERVER's exports file with -maproot=1001
> Am i understaning this correctly that by adding that line in the config
> it gives me read/write access to the files on the SERVER? that does NOT
> allow me to mount the File system..?
> My user is able to read/wirite to the files with no problems..
> sorry if thats alittle confuseing...
Hmm, at first it is...
You cannot mount filesystems (even not NFSs) as regular user. Well, you
can, but you have to be the owner of the mountpoint directory and have set
(as superuser or during startup (/etc/sysctl.conf)) the sysctl
vfs.usermount to 1.
The '-maproot=SOMEID' is for the NFS server which tells him to what userid
incoming ID=0 requests will be mapped. Usually you don't want to let
everybody who identifies him as ID=0 erase your root file system! So User
ID=0 is invalid in NFS until you map it to any other (or the same) ID!
Hope this helps,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050823/a504af67/attachment.bin
More information about the freebsd-questions