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-1439387.1
Update Date:2018-05-02
Keywords:

Solution Type  Problem Resolution Sure

Solution  1439387.1 :   Oracle ZFS Storage Appliance: Non-root user cannot change ownership of files and directories.  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Oracle ZFS Storage ZS5-2
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Oracle ZFS Storage ZS5-4
  •  
  • Sun ZFS Storage 7120
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
  • Oracle ZFS Storage ZS3-BA
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: ZS
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  




In this Document
Symptoms
Changes
Cause
Solution


Created from <SR 3-3740498461>

Applies to:

Sun Storage 7210 Unified Storage System - Version All Versions and later
Sun Storage 7410 Unified Storage System - Version All Versions and later
Sun ZFS Storage 7120 - Version All Versions and later
Sun ZFS Storage 7320 - Version All Versions and later
Oracle ZFS Storage ZS3-4 - Version All Versions and later
7000 Appliance OS (Fishworks)

Symptoms

File or directory owner unable to modify ownership with chown:

Typical results with NFSv3:

# mount -F nfs -o vers=3 server.sun.com:/var/tmp/nfstest /tmp/test
# su - test

$ chown test1 /tmp/test/abc
chown: abc: Not owner

 

Typical results with NFSv4:

# mount -F nfs -o vers=4 server.sun.com:/var/tmp/nfstest /tmp/test
# su - test

$ ls -l /tmp/test/abc
-rw-r--r-- 1 test nobody 0 Jun 13 2011 abc

$chown test1 abc
chown: abc: Permission denied

Changes

 

Cause

The default behavior of the ZFS Storage Appliance is to allow only root to change ownership of files.  This is the POSIX compliant settings.

This setting does have practical uses, such as preventing users from avoiding quota limitations by changing the ownership of their files so that they no longer count against user quotas.

 

Solution

This setting can be changed at the share or project level. On the Share/General or Project/General tab, it is the last option in the Properties Section.

To change it at the share level, clear the "inherit from project" checkbox, then clear the "Restrict Ownership Change" checkbox.

Example of Share/General BUI screen:

 

 

 

 

***Checked for relevance on 10-DEC-2013***

***Checked for relevance on 02-MAY-2018***

 


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