AIX 5.3 environment. On the local system, I am sharing a jfs2 filesystem as an exported filesystem. I have many other AIX 5.3 server mounting to this file system and can create, move, copy, ... data to and from this share.
Recently, we've run into a problem. When on another system (okay, all systems except the local system), users try to create a folder or file on this "share," but the new permissions are automatically set to nobody:nobody.
It is easy enough to change the permissions, but I am not sure why this is happening now. On the local system, I was able to create a new file and folder with the proper permissions system:root. It seems as if there is a problem with the share itself. I looked through the file systems settings, NFS settings, and exported file system settings, but didn't see anything out of the ordinary.
I did some more looking into this last night, and I did an ls -la on the server1 (a.k.a server with NFS). For some reason it had settings of:
123:107
I checked both server1 and server2 for these UID and GUID but neither of the systems have these. I ran a: chown root:system to reset the permissions and tested another folder/file creation from server2. same problem.
I also checked the /etc/passwd file as johnf suggests and everything lines up.
Found the problem...or, I should say, my co-worker saw the problem. We have two NICs on the server, and have addressing set up accordingly. Some time ago we had issues with the server, and it appears that I gave access to the servers with the "internal" naming convention that is supposed to be for the nim server. I was able to get to the share and do what I wanted from the "external," but then ran into the nobody:nobody file permission.
Because I was on server, sapdbw2, I changed the permission from db2 to sapdbw2 and was able to create a file/folder with the proper permissions.
I am still thinking about this, because it doesn't seem quite complete. I understand I have naming conventions that the nim server sees, and then what the rest of the world sees. Maybe I need to modify the /etc/hosts file so it doesn't matter if I have the server listed as db2 or sapdbw2.