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

Cormac McClean cmcclean at ait.ie
Tue Mar 21 12:25:43 GMT 2000


"Burke, Gary : GIG IS&T" wrote:
> 
> ]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
> 
> I would assume that this is a rights thing.  Create a user called cormac on
> the local machine with the same UID and GID as on the remote machine, and
> log in as that user and see if you can access the directory then.  Or
> indeed, log in as root and try it.  If the drive is NFSmounted, then you
> should be able to see everything.
> 
> Gary

I know what you mean and I thought likewise, but I have been mounting 
and browsing as root on the client and still cannot see the contents of
/home/cormac.

I also tried this:
Created testuser with uid=300, gid=100 on both machines
exported /home in /etc/exports on server (also tried exporting
/home/testuser)

	$mount 193.1.31.83:/home /nfs_test
	$cd /nfs_test
	$ls -l
	cormac
	lost+found
	testuser
	$ls -l lost+found
	testfile
	$ls -l testuser
	total 0
	$ su testuser
	$ls -l 
	cormac
	lost+found
	testuser
	$ls -l testuser
	total 0

whereas on the server:
	$pwd
	/home/testuser
	$ls -R
	testing:
	. .. testfile


Hmm.... (scratching head).

Thanks for the suggestion, though.	
	
Regards,
Cormac.




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