My Oracle Support Banner

NFSv4 Client and Server Disagree on Ownership of Files Created by Client (Doc ID 1546050.1)

Last updated on SEPTEMBER 07, 2023

Applies to:

Solaris Operating System - Version 10 to 11.3 [Release 10.0 to 11.0]
Information in this document applies to any platform.

Symptoms

The environment:

Solaris NFS server and Solaris NFS client mounting using NFSv4.

NFS server: user2 has uid=1500, and a user1 with uid=1000.
NFS client:  user1 has uid=1500  and no "user2" username. 


NFS server:
getent passwd 1500
user2:x:1500:601:User2:/home/user2:/bin/ksh

getent passwd user1
user1:x:1000:100:User1:/home/user1:/bin/ksh

NFS client:

getent passwd user1
user1:x:1500:100:User1:/home/user1:/bin/bash

No user2.

The issue:

The user1 user exists on both client and server.  When user1(client) creates a file on NFS server, the user1(client) user immediately sees the file as being owned by nobody and the NFS server sees it as being owned by another user with the same uid (1500, user2). 

When the user1 user on the NFS server creates a file, all systems see the file as owned by user1.  

Why is there a difference in the client's view of ownership when client creates the the file vs. when the server creates the file? 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.