William Murphy wrote:
>Well, chances are that root squashing is on. This means that root probably has
> the same privelidges as nobody for looking at files. The effect of this is
> that you can't see any files in a readonly directory. You can turn off root
squashing by adding no_root_squash to the line in /etc/exports (and restarting
> your nfsd) for example:
> /home (rw,no_root_squash)
>>This raises the security consideration that anyone who has root on the client
> machine can read (or modify in the above example) anyone elses files.
>> Anyway,
> William Murphy
>alias at eircom.net
This makes sense, and this is exactly how I have setup my
/etc/exports file:
/home (rw,no_root_squash)
and then restart nfs with
rcnfsserver restart
but still does not provide access to /home/cormac - just as
if I was trying to access the directory as nobody.
Maybe it's not picking up the new /etc/exports file when
restarting...
Thanks for the suggestion,
Cormac.
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!