LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-01-2010, 11:31 AM   #1
gusblake
LQ Newbie
 
Registered: Feb 2010
Posts: 24

Rep: Reputation: 15
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
 
Old 07-01-2010, 09:01 PM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
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.
 
  


Reply

Tags
directory, mount, nfs, permissions, read, ubuntu, user, write



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
NFS share mounts with ro rather than rw for a new client dustymugs Linux - Server 1 10-08-2007 05:23 PM
Export nested mounts through NFS sleepylight Linux - Server 1 07-22-2007 12:40 PM
NFS:How can I export a directory which is mount from other's walkinmud Linux - Networking 2 05-25-2006 04:23 AM
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 08:12 PM
Mounts unreadable by normal users obl1v1us Linux - General 2 03-01-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:20 AM.

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