LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-26-2004, 05:11 PM   #1
elbe3321
LQ Newbie
 
Registered: Feb 2003
Posts: 17

Rep: Reputation: 0
NFS installed, but no access


Hi,

I have two Debian machines on a LAN. One is server. the other client. On the client, after mounting "server:/home" I can see all the directories directly under /home in the server. BUT, I cannot see sub-directories below the first level. I can see a few files, BUT cannot see 99% of the files on the server. I do not know why I cannot access the files on the server.

Where can I start to look for the reason for not being able to access the files and directoriees in /home?

elbe3321
 
Old 08-26-2004, 10:47 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
It sounds like you have the permissions set so that the user you are running as on the client does not have access to the directories you have exported.

A couple of things to remember:
1) by default, root on the client machine will not have any root like abilities on the mounted directories. This can be changed by exporting the file system on the server with the no_root_squash option.
2) the users will be identified by their user ids (as assigned in /etc/passwd). Just having a user with the same name on the client will not give you access to files owned by a user with the same name on the server, unless the two users have the same user id. For two systems you can synchronize your user ids manually. For more than a few systems, you generally want to use a central authentication tool such as NIS when you use NFS.
 
Old 08-27-2004, 08:54 AM   #3
elbe3321
LQ Newbie
 
Registered: Feb 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by idaho
It sounds like you have the permissions set so that the user you are running as on the client does not have access to the directories you have exported.
Hi idaho,

Many thanks. That was great advice and it solved my problem. Now I need work on installing NIS and all the security issues that come with it.

elbe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL Installed over NFS logosys Red Hat 1 09-03-2005 11:57 AM
can't access second harddisk over NFS mrjamin Linux - Networking 3 03-15-2005 09:24 AM
nfs access denied Motown Linux - Networking 1 07-14-2004 12:38 AM
Installed Slackware with NFS thef0x82 Linux - Laptop and Netbook 2 06-17-2004 02:25 PM
NFS: how can I get write-access?? pablovschby Linux - Networking 3 12-24-2003 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration