Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2248316.1
Update Date:2018-03-20
Keywords:

Solution Type  Problem Resolution Sure

Solution  2248316.1 :   Oracle ZFS Storage Appliance: Unable to Change Ownership on a file even if the Restrict Ownership Change is Unchecked  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Oracle ZFS Storage ZS5-2
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Oracle ZFS Storage ZS5-4
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun ZFS Storage 7320
  •  
  • Oracle ZFS Storage ZS3-BA
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: ZS
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-14408282691>

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 ZS3-4 - Version All Versions and later
Oracle ZFS Storage ZS3-2 - Version All Versions and later
7000 Appliance OS (Fishworks)

Symptoms

OVMs with Oracle Solaris 11.2 and Oracle Solaris 11.3.

Error received when owner tries to change the ownership of files even if the restrict ownership change property is not selected in project.

 

Oracle@lbl-266:~/test$ ls -la
total 7
drwxr-xr-x 2 oracle dba 3 Mar 14 12:05 .
drwxr-xr-x 3 oracle dba 9 Mar 14 12:03 ..
-rw-r--r-- 1 test dba 0 Mar 14 12:05 file

 

Error:

oracle@lbl-266:~/test$ chown oracle file
chown: file: Not owner

 

 

Cause

By default, NFS shares are mounted in Solaris with the rstchown option, so we are not able to change ownership - even if the project has unselected this property.

 

Solution

Add file_chown_self to users that need to change file ownership or mount the share with the norstchown option.

 

To check user attributes:

oracle@lbl-266:~$ ppriv $$
1960: -ksh
flags = <none>
E: basic,file_chown_self
I: basic,file_chown_self
P: basic,file_chown_self
L: all


 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback