Login  Register

Re: permission to file

Posted by ErmanArslansOracleBlog on Oct 08, 2020; 1:14pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/permission-to-file-tp8846p8850.html

NFS uses the UID and GID, and the mapping to the username and groupname is done locally
on each client.
How did you configure this nfs? What parameters did you use?
what is your NFS version? ( nfs v3 or nfs v4?)
Did you try sharing that directory with anon=0 argument? I mean share -F nfs -o anon=0

note that -> with anon argument , you use uid to select the user ID of unauthenticated users. If you set uid to -1, the server denies access to unauthenticated users. You can grant root access by setting anon=0, but this option allows unauthenticated users to have root access, so use the root option instead.

Also you can use root argument as well -> root=client-name
The client-name value is used with AUTH_SYS authentication to check the client's IP address against a list of addresses provided by exportfs(1B). If a match is found, root access is given to the file systems being shared

I mean, share blabla -o root=<hostname_of_the_linux_machine>