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 help, please - exporting and mounting /home

[ILUG] NFS help, please - exporting and mounting /home

William Murphy alias at student.nuigalway.ie
Tue Mar 21 13:11:57 GMT 2000


Cormac McClean wrote:

>
> I can mount this from a PC on the network as
>         mount 193.1.31.83:/home /nfs_test
> and I can see the contents of this directory:
>         cormac
>         lost+found
> I can also see the contents of the lost+found
> directory.
>
> However, when I look at /home/cormac, it reports
> that the directory is empty:
>         ls -l /nfs_test/cormac (i.e. /home/cormac)
>         total 0
>
> Is this because this is a user's home directory?
> If so, how do I export it and mount it?
>
> I have acquired a copy of Managing NIS and NFS,
> but it does not appear to cover this issue.

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





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