Oracle ZFS Storage Appliance: NFSv4 Client - New User sees created files owned by Different User

(Doc ID 2099401.1)

Last updated on APRIL 25, 2017

Applies to:

Oracle ZFS Storage ZS5-4 - Version All Versions and later
Oracle ZFS Storage ZS5-2 - Version All Versions and later
Oracle ZFS Storage ZS4-4 - Version All Versions and later
Oracle ZFS Storage Appliance Racked System ZS4-4 - Version All Versions and later
Oracle ZFS Storage ZS3-4 - Version All Versions and later
7000 Appliance OS (Fishworks)

Symptoms

User is having issues with permissions on the ZS3-3 NFS shares.  Here are some background details.

The user's account was initially created in LDAP as jonathan.doe and shortly after he asked for the username to be changes to jon.doe.

The New account was created for jon.doe with a unique UID.

We have a Linux client which is mounting a share from the ZFSSA using NFSv4 . The ZFSSA uses the same domain and name database as the client.

If we login as the new user (jon.doe) ID reflects the new UID.

If I now create a fille on the share as this new user , and then check ownership, it is owned by the original username.

Then if I chown to jon.doe it reports no errors, but when we check file ownership it is still owned by jonathan.doe.

Checking with "ls -ln" also shows the incorrect UID.

 

Summary : We can create files as the new owner, however when we check ownership the file is being seen as owned by the old username.

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms