Operating System - HP-UX
1820671 Members
2295 Online
109626 Solutions
New Discussion юеВ

user nobody on a soft line/NFS file

 
SOLVED
Go to solution
James Odak
Valued Contributor

user nobody on a soft line/NFS file

this is bizare

i have a directory wich is NFS moounted to a diff directory on this same server ..yes the server is the export and import server (this is part of the cluster set up)

anyway i soft linked 2 files to this directory
one is fine but the other has user nobody and group nogroup and i will not change ..persmissions on both original files are ok and the same ... i deleted the link and recreated it with the same results
ive read about problem with NFS, NIS and the nobody user but none of it seem to match my problem

any help?
thanks
Jim
3 REPLIES 3
monasingh_1
Trusted Contributor
Solution

Re: user nobody on a soft line/NFS file

This should be because of export options of exported filesystems. If in export options of exported filesystem, root=localhostname is not given, root user will be considered nobody and the link created by root user will appear as nobody.

If you say that root created two links, one is okay and other is nobody, then you might have created that link in actual filesystem not on local nfs mounted.

Check these things. Hope this explains the issue.
T G Manikandan
Honored Contributor

Re: user nobody on a soft line/NFS file

When the file system is NFS mounted and when a file is created the default user is nobody with group nogroup.

To overcome this you need to explicitly define root permissions in the /etc/exports file

like

/home root=

Then you can create as root-sys.

check this doc

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062947039
James Odak
Valued Contributor

Re: user nobody on a soft line/NFS file

figured it out

the NFS mount is from this server to itslef
dir1 to dir2
so on this server dir1=dir2
however i linked the first file from the exported mount and the second from the imported mount thus the inconsistency (the directories have simliar names)
so i removed the link and relinked it from th eexported mount and i am fine
thanks