Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1439387.1
Update Date:2012-07-09
Keywords:

Solution Type  Problem Resolution Sure

Solution  1439387.1 :   Sun Storage 7000 Unified Storage System: Non-root user cannot change ownership of files and directories.  


Related Items
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7210 Unified Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>NAS>SN-DK: 7xxx NAS
  •  
  • .Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-3740498461>

Applies to:

Sun Storage 7110 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7210 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7410 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7120 - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7320 - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.

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

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:


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback