Help answer threads with 0 replies.
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 09-11-2006, 12:06 PM   #1
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
NFS4 mount showing wrong ownership

Okay... I have an NFS4 server running. I have a data partition that is being "shared" through NFS4 as well as through Samba. Samba is joined at the hip with Active Directory through winbind & nsswitch. I'm also using POSIX acls on the filesystem to supplement the usual user+group+everyone bits.

However, I'm having a wierd problem. When I mount the export, I see the files properly, but the ownership is wrong.

Take a look:

drwxrwxr-x 4 4294967294 4294967294 96 2006-07-26 17:45 clipart
drwxrwxr-x 5 4294967294 4294967294 120 2006-08-04 12:12 docs
drwxrwxr-x 9 4294967294 4294967294 232 2006-09-04 01:39 ftp
drwxrwxr-x 9 4294967294 4294967294 216 2006-09-06 14:25 homes
drwxrwxr-x 4 4294967294 4294967294 224 2006-09-04 01:48 public

The owning user should be root, and the owning group should be netadmins.

I have matched the users and groups (with matching uids and gids) on the workstation I'm mounting it from. I also mounted this share locally (on the server) and got the same results, so I know it isn't the workstation.

Thinking that POSIX acls might be to blame, I reset (removed extra acls) several of the folders in this partition, and remounted the NFS4 export, and got the same results. Every file, regardless of its true ownership, shows this.

Now the odd thing is, the security permissions seem to be coming across right. Meaning, on the groups that are owned by netadmins, I can write to (I want the export rw), like I should be able, and I cannot write to those that I don't have ownership to. In other words, this UID/GID thing appears to be display only.

I then realized that idmapd wasn't running, so I started it and remounted the NFS4 export. Now the files show owned by "nobody" and "nobody" (user, group, respectively).

However, as the data is important, I don't want to create file corruption, so I want to fix this 'bug' if I can.

Any ideas?

Last edited by tisource; 09-11-2006 at 12:20 PM.
Old 09-11-2006, 01:02 PM   #2
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Okay, I fixed the problem.

The idmapd daemon wasn't running on the server either. Everything works great now.


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
tar output file ownership wrong davidsrsb Slackware 2 07-08-2006 11:26 AM
'df -h' showing wrong free space on disk? Cdzin Slackware 4 03-16-2006 01:35 PM
FC4 HDD showing wrong size h00ty Fedora - Installation 5 08-20-2005 11:10 AM
Changing ownership of vfat mount maamold Linux - Software 2 02-25-2005 02:27 AM
df showing wrong output samac Slackware 9 12-08-2004 02:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 PM.

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