![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Problem Resolution Sure Solution 1439387.1 : Oracle ZFS Storage Appliance: Non-root user cannot change ownership of files and directories.
In this Document
Created from <SR 3-3740498461> Applies to:Sun Storage 7210 Unified Storage System - Version All Versions and laterSun 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) SymptomsFile or directory owner unable to modify ownership with chown: # 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
CauseThe 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.
SolutionThis 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.
***Checked for relevance on 10-DEC-2013*** ***Checked for relevance on 02-MAY-2018***
Attachments This solution has no attachment |
||||||||||||||||||
|