Operating System - HP-UX
1838053 Members
5010 Online
110124 Solutions
New Discussion

Re: chown display error not owner

 
kamal_15
Regular Advisor

chown display error not owner

when i tryed to delete or enter to a directory (created by user).
it displayed error not owner.(i login with root)
and this directory was mounted using nfs.

now
from console when i type ll
it display all files. and error display says :

subsys ns_ls_nfs
function faild [ server,function,error] (kamal)get attrauth error.

where (kamal) the user who create this directory
i have hp-ux version10.20

how can i solve this problem?
2 REPLIES 2
Peter Godron
Honored Contributor

Re: chown display error not owner

kamal,
when using nfs the permissions on the host are set with host userset. So if kamal creates a directory on hostA and then the mountpoint is exported to hostB any user with the same usernumber and groupnumber becomes the owner of that directory.So even root on hostB may not have access to directory on hostA.
I would look to ensure connection works ok and that the permissions on the whole path are ok to read.

BTW: Points to 2 out of 78 replies is not a good record. Are you only being given answers that don't help?
Patrick Wallek
Honored Contributor

Re: chown display error not owner

You have to specifically configure root access on NFS mounts. This is done in the /etc/exports entry on the NFS server.

# cat /etc/exports

/dir -access=nfs_client,root=nfs_client


Once you make the change you must re-export.

# exportfs -va

I'm not sure if you'll have to unmount and remount on the client once the change is made on the server.