![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Problem Resolution Sure Solution 1426454.1 : Sun Storage 7000 Unified Storage System: Shadow Migration/NFS copy of data from source system results in ACLs that contain Deny entries
In this Document
Created from <SR 3-4857983481> Applies to:Sun ZFS Storage 7320 - Version All Versions and laterSun ZFS Storage 7420 - Version All Versions and later Sun ZFS Storage 7120 - Version All Versions and later Sun Storage 7110 Unified Storage System - Version All Versions and later Sun Storage 7210 Unified Storage System - Version All Versions and later 7000 Appliance OS (Fishworks) SymptomsSource data has POSIX-draft style ACLs, when they're copied over via NFSv4 shadow migration, ACLs are converted to ZFS ACLs, but two deny entries are created for each POSIX ACL in addition to the expected allow entry.
Example of POSIX ACL data: # file: Data
# owner: luke # group: it user::rwx user:luke:rwx #effective:rwx user:mark:rwx #effective:rwx user:matt:rwx #effective:rwx user:john:rwx #effective:rwx
Example of resultant ZFS ACLs after shadow migration or NFS copy: [root@system1] /mnt/data1 # ls -Vd
drwxrwx---+ 3 luke it 6 Nov 14 09:38 . group:it:rwxpdDaARWcCos:fd----:allow owner@:rwxp-DaA--cC-s:------:allow owner@:--------------:------:deny user:mark:-------A---C--:------:deny user:mark:rwxp-Da---c--s:------:allow user:mark:-------A---C--:------:deny user:matt:-------A---C--:------:deny user:matt:rwxp-Da---c--s:------:allow user:matt:-------A---C--:------:deny user:john:-------A---C--:------:deny user:john:rwxp-Da---c--s:------:allow user:john:-------A---C--:------:deny
CauseAfter researching this issue, we found that the deny access control entries (ACEs) are not being created by the appliance. The conversion from POSIX-draft ACLs is taking place, but they are first converted to NFSv4 ACLs rather than ZFS ACLs. The deny ACEs are correctly applied in this case according to the best available specification, an internet draft on how POSIX ACLs should map to NFSv4 ACLs which can be found here: http://tools.ietf.org/id/draft-ietf-nfsv4-acl-mapping-03.txt. SolutionThere are no current plans to change this in the software, as it would be a very difficult task to change the NFSv4 specification at this point. To workaround the issue, use NFSv3 to migrate or copy, or use NFSv4 as above, and edit the ACLs with a root-mounted NFSv4 client.
Attachments This solution has no attachment |
||||||||||||||||
|