LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-04-2011, 02:35 PM   #1
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Rep: Reputation: 34
NFS files on client have different owner/group than on server


First the vitals:

The server is named alpha and is running Archlinux. It is exporting a directory named /files. The server is a couple of years old and I have accessed it extensively from clients running Arch, Suse, PCLinuxOS, and maybe some others, all with no problems.

The clients (3 of them) are new installations of Linux Mint 10 (Julia). When I mount the nfs all of the nfs files are visible as expected. However, the owner/group is drastically different than on the server.

I might add that I have set up user id's and group id's the same. My user is 1003 on all systems, and the users group is 100 on all systems.

When I am on alpha (via ssh), here is a partial file listing.
Code:
[dick@alpha dick]$ ls -l
total 9740
drwxr-xr-x  3 dick users    4096 May 16  2009 airplane
-rw-rw-r--  1 dick users  240978 Jun 27  2009 Alice Grad 1934.pdf
-rwxr-xr-x  1 dick users     444 Jul  8  2007 alpha2ast
-rw-r--r--  1 dick users     444 Sep  2  2009 alpha2charlie
-rwxr-xr-x  1 dick users     507 Jul  1  2007 alphawww2ast
-rw-r--r--  1 dick users  476637 Mar 16  2008 AmeripanelBrochure.pdf
When I am on my workstation, here is what I see when I list the same files.
Code:
dick@gregory-desktop /files/dick $ ls -l
total 9740
drwxr-xr-x  3 4294967294 4294967294    4096 2009-05-16 22:14 airplane
-rw-rw-r--  1 4294967294 4294967294  240978 2009-06-27 19:27 Alice Grad 1934.pdf
-rwxr-xr-x  1 4294967294 4294967294     444 2007-07-08 16:57 alpha2ast
-rw-r--r--  1 4294967294 4294967294     444 2009-09-02 20:59 alpha2charlie
-rwxr-xr-x  1 4294967294 4294967294     507 2007-07-01 14:47 alphawww2ast
-rw-r--r--  1 4294967294 4294967294  476637 2008-03-16 19:45 AmeripanelBrochure.pdf
Here is the line in /etc/fstab.
Code:
alpha:/files /files nfs rsize=8192,wsize=8192,nosuid,soft 0 0
If have searched the Mint forums, LQ forums, and google in general. I must be missing something in my search because I can't believe that no one else has this same problem and I am having it on 3 different boxes.
 
Old 02-04-2011, 02:44 PM   #2
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Original Poster
Rep: Reputation: 34
Oops, I think I posted this in the wrong forum. My bad for posting first and reading the rules later.

Mod -- could you move it to a more appropriate forum?

Thanks.
 
Old 02-05-2011, 02:46 PM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
What is the export definition on the server, i.e. /etc/exports?
 
Old 02-05-2011, 10:42 PM   #4
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Original Poster
Rep: Reputation: 34
Code:
# /etc/exports
/files 192.168.1.0/24(rw,sync,fsid=0,no_subtree_check)
I'm not expecting there to be a problem here because this still works fine on my PCLinuxOS boxes.
 
Old 02-08-2011, 08:21 PM   #5
dickgregory
Member
 
Registered: Oct 2002
Location: Houston
Distribution: Arch, PCLinuxOS, Mint
Posts: 257

Original Poster
Rep: Reputation: 34
I found the answer on an Ubuntu forum. Here is the link in case someone else has the same problem.

http://ubuntuforums.org/showthread.p...&highlight=nfs
 
  


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
Default group owner of files in a directory? TheLudd Linux - Newbie 12 08-14-2014 04:41 AM
Owner 99 Group 99 files & folders adnanm Linux - Newbie 1 05-26-2008 11:02 AM
Files getting created with owner as nobody and group as nogroup, how to stop? itsakc Linux - General 2 10-25-2007 06:13 PM
Broken files/owner/group. kmoffat Debian 3 11-27-2006 07:18 PM
sudo changes the owner and the group of some my files and now I can't enter in X Ali79 Linux - Software 5 12-10-2004 01:01 PM

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

All times are GMT -5. The time now is 01:09 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