What does "ls -nd" on the affected directories show?
If the actual UID/GID are shown as the same, then the problem is in the particular server's maping of IDs to names.
And if they IDs are different, things are really weird....
You see the "oops" in your suggestion, correct? The group on one system is listed as "nobody" so ls -nd is going to show the gid (99) for nobody. On the other system, it's going to show the gid for the correct group. So they will never match until I get this fixed.
You see the "oops" in your suggestion, correct? The group on one system is listed as "nobody" so ls -nd is going to show the gid (99) for nobody. On the other system, it's going to show the gid for the correct group. So they will never match until I get this fixed.
What oops?
Not one post in this thread has shown the actual numeric IDs.
Until you know what the numeric IDs actually are, you can't tell where your problem is. Are the IDs getting changed from the server? Or the client? Or just in the ID lookup?
Not one post in this thread has shown the actual numeric IDs.
Until you know what the numeric IDs actually are, you can't tell where your problem is. Are the IDs getting changed from the server? Or the client? Or just in the ID lookup?
When an nfs-receiving system cannot resolve a groupname/gid, by default and design, it assigns that file/directory to the "nobody" group. Nobody is a real group. On RH7, it is gid 99.
What is happening is that the nfs-sharing server is providing the groupname/gid acrn/10001, and the nfs-receiving system can't understand something about that. So, it bails out and gives it to nobody.
I think you were expecting that the receiving system would list the group for the directory as 10001 but somehow think the groupname for 10001 was nobody. It doesn't work that way. The directory is nobody (gid 99).
It's doing exactly what's expected because it doesn't understand or know the group acrn/10001...it gives the directory to nobody. But it does know acrn.
That's the problem from the original post.
Last edited by Scott; 03-03-2015 at 06:14 PM..
Reason: Code tags, please...
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Hi,
I have created a NFS share in Solaris 10 server1 and mounted it on solaris 10 server 2.But I want to change owner of the files from nobody to a particular user in client.
Which command should I use. I have tried the following but it doesn't allow to change permissions in the server2 as... (0 Replies)
Hi,
I have an NFS server, i want to mount that nfs share which is having around 500GB to my client system. But my client system doesnt have any free space, is it possible to mount that nfs share in my client.
Regards,
Mastan (1 Reply)
I am setup a samba share server which is authenticating from Active Directory.
I am able to access the share with AD user but not able to access when group defined in "valid users" parameters.
below are the steps i performed.
In smb.conf
workgroup = QASLABS
password server =... (3 Replies)
Can any one tell me how to add a virtual disk from NFS share in Ldom .. i have one share /VMshare/boot.img file shared/exported from one server but i do now know how to add nfs based vdsdev as it gives primary domain cannot validate the disk. (1 Reply)
Here is the scenario...
NFS share that is accessed every few minutes by approx 70 systems (AIX 5.3/6.1). Filesystem space is being eaten up rapidly according to df however du numbers really never change. lsof and fuser cannot see any unlinked files on either the NFS server or remote... (3 Replies)
Hi all,
I had share the server Gemini /u10 to the server Centaurus.
/etc/dfs/dfstab
share -F nfs -o root=centaurus /u10
My problem is:
in the server Gemini the the owner for /U10 is oracle:dba
but when in the server Centaurus, I am not able to change the owner become oracle:dba, it show... (8 Replies)
I´m using LDAP for groups and NFS for home dirs. My problem is as follows:
I only have a few groups, so it's not the problem everyone else had. When I've mounted a disk over NFS, I need to have my primary group in order to read in the groups I'm a member of. Secondary groups is not working.
... (0 Replies)
I got a problem while creating files on a NFS mounted share in a RHEL box. That is when I create an empty file, this is what appears on the screen
###############################################
E325: ATTENTION
Found a swap file by the name ".test.swp"
owned by: jsmith dated: Tue... (2 Replies)
Hello,
I'm doing a Perl script to parse the dfstab file and find dangerous configurations (rw to everyone, root access, etc). My question is, if I have a share command like this:
share -F nfs -o ro=chrome:copper:zinc,root=chrome /usr/man
it means that the /usr/man is "rw" to everyone... (6 Replies)