LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS export mounts on client, but normal users can't get into the directory (https://www.linuxquestions.org/questions/linux-server-73/nfs-export-mounts-on-client-but-normal-users-cant-get-into-the-directory-817439/)

gusblake 07-01-2010 11:31 AM

NFS export mounts on client, but normal users can't get into the directory
 
Hi,

I have set up an NFS server on Fedora 13, and I am connecting to it with Fedora 13 and Ubuntu 10.

On both clients the command
Code:

mount nfs-server:/shares /mnt/share
works fine. On Fedora I can get into the directory with Nautilus and have read/write permissions as specified in /etc/exports on the server, but on Ubuntu I can only get into it from a sudo'd command line.

The ownership of the file on Fedora is "nobody" and on Ubuntu it's "user #500", with only people in the "500" group having access to it.

Obviously the permissions can't be changed on the client, but with the Fedora box being able to read/write to it with no problems I'm not sure what else I can do on the server to let normal users on the Ubuntu box read it.

If anyone has experience with this or knows where to look for solutions, I would appreciate your advice.

Cheers,
Gus

archangel_617b 07-01-2010 09:01 PM

What do you have in your /etc/exports file?

How are you sharing user information (LDAP, synchronized passwd files, other?)?

What is the output of mount (for /mnt/share)?

My random guess is that you need to either do something to sync UID info between systems or do something about user ID mapping (check "man exports" or http://linux.die.net/man/5/exports)... But if you can provide more config and diagnostic info, that would help.


All times are GMT -5. The time now is 07:09 PM.