Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-28-2007, 09:56 PM   #1
Registered: Dec 2006
Location: Utah, USA
Distribution: openSUSE
Posts: 72

Rep: Reputation: 15
NFS & idmapd ... nobody owns everything

I've got two SUSE boxes - one server, one workstation. I have a NFSv4 export.

I can connect successfully (r/w) via autofs using the following autofs mount parameters:

fs2 -fstype=nfs4,rw,hard,intr,sec=sys,proto=tcp,fsid=0,port2049

In this case, fs2 ( is the server where the export is located.

I have verified idmapd is running on both hosts. I have verified both have the same "domain" (as defined in /etc/resolv.conf). Both have synchronized clocks.

But It appears the "nobody" user and "nobody" group own the files on the workstation.

It works for a while and then something breaks it. I'm not sure what to think. The last time it was a domain mis-match. But what's funny is that it appears to be a labeling thing... permissions are calculated correctly, regardless of who the owning group/user appears to be on the workstation.

Old 11-29-2007, 07:50 PM   #2
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Forgive me if I'm over simplyfying, but are you using centralized authentication? If not, are the UID's GID's the same on both machines? If not, that's probably the source of your problem.

Again - not trying to dumb this down too far, but because I don't know your experience level...


on the server user "bob" has UID of 501
on the workstation user "bob" has UID of 505

then when bob writes to the server from the worstation, as long as he stays on the workstation, all his writes will look like he wrote them. Once he jumps on the server and looks at those files, they will no longer appear to be owned by him because on the server, he's 501, but the user that wrote the files is 505 (which may map to "nobody" or "jill" or whatever - it could be different on every machine that looks there)

Hope that helps.

Last edited by BrianK; 11-29-2007 at 07:51 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 & uugidd Kropotkin Linux - Networking 5 04-17-2006 01:49 PM
nfs&samba alok.rhct Linux - Networking 2 01-10-2006 11:34 AM
rpc.idmapd cannot find user nobody aznluvsmc Fedora 1 09-30-2005 10:59 PM
Pdc & Nfs PDD Linux - Networking 0 11-09-2004 07:54 AM
Ftp & Nfs needamiracle Linux - Security 1 02-04-2003 06:40 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:55 AM.

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