OCI: NFS Mount Point Shows Ownership as "nobody" — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: NFS Mount Point Shows Ownership as "nobody"

Applies To:

Oracle Linux Cloud Service - Version Oracle Linux 7.0 and later

Oracle Cloud Infrastructure

Symptoms:

NFS mount point shows the below ownership. 

$ ls -ld /<mount-point>drwxrwxrwx 4 nobody nobody 4096 Mar 25 01:42 /<mount-point>

Cause:

File /etc/idmapd.conf file is not set correctly with domain and domain user.

Solution:

  1. Set the correct domain, user and group in /etc/idmapd.conf
  Domain = nfsdomain
  Nobody-User = <user>
  Nobody-Group = <group>

2. Run the below command to remove the stale entries.

  #nfsidmap -c

3. Unmount and mount file system to see the correct ownership on directory.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!