![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Problem Resolution Sure Solution 1580145.1 : Sun Storage 7000 Unified Storage System: Setting Root Directory ACLs Via CLI, not only from BUI
In this Document
Created from <SR 3-7085192869> Applies to:Sun Storage 7410 Unified Storage System - Version All Versions to All Versions [Release All Releases]Sun ZFS Storage 7120 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases] Sun Storage 7110 Unified Storage System - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) SymptomsProblem Description: Unable to set Root Directory ACL for a share via the CLI System: Sun ZFS Storage 7x20 Systems and Sun Storage 7x10 Unified Storage Systems Symptoms: If "Use Windows default permissions" is selected, the Permissions section is greyed out and the permissions are automatically set to: Windows Default Permissions can be checked in BUI, under the menu Shares -> select share -> Access Tab -> Root Directory ACL
appliance:shares Test> filesystem test_share
appliance:shares Test/test_share (uncommitted)> set root_permissions=755 root_permissions = 755 (uncommitted) appliance:shares Test/test_share (uncommitted)> commit
A. Root Directory Access:
- Permissions: RWX (Read, Write, Execute) for user RX (Read, Execute) for group RX (Read, Execute) for others
B. Root Directory ACL:
Owner: Access: Full Control , Permissions Inheritance: rwxpdDaARWcCo:fd-- Group: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:fd-- Everyone: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:fd-- #### See the attachment Share_BUI_Root_Directory_ACL.jpg
A. Root Directory Access:
- Permissions: RWX (Read, Write, Execute) for user RX (Read, Execute) for group RX (Read, Execute) for others
B. Root Directory ACL:
Owner: Access: - , Permissions Inheritance: rwxp-DaARWcCo:---- Group: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:---- Everyone: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:---- #### See the attachment Share_CLI_Root_Directory_ACL.jpg
appliance:shares Test> filesystem test_share
appliance:shares Test/test_share (uncommitted)> set root_permissions=755 root_permissions = 755 (uncommitted) appliance:shares Test/test_share (uncommitted)> commit
- user: nobody
- group: other - permissions: RWX for user, RX for group and others
Owner: none
Group: Read&Execute Everyone: Read&Execute
ACL behavior on mode change: Do not change ACL
ACL inheritance behavior: Inherit all entries
- user: nobody
- group: other - permissions: RWX for user, RX for group and others The following Root Directory ACL: Owner: Full Control ----------- !!
Group: Read&Execute Everyone: Read&Execute
ACL behavior on mode change: Discard ACL ----------- !!
ACL inheritance behavior: Inherit all entries
The fact that the owner has different access privileges and the ACL behavior on mode change CauseThe "Windows default permissions" option is not available in the CLI, and it can only be used from BUI. By selecting "Use Windows Default Permissions" in the BUI, a different set of permission bits is granted than the 755 option used in CLI. The root directory ACL displayed in the BUI can be a little confusing. In the "Access" column, it can only be seen a text description of the ACL if it's an exact match for one of the Windows named permission sets: "Full Control", "Modify", "Read & Execute" or "Read". In the case of an owner with RWX (7) permissions, we are one bit away from the Windows full control set, so no description is displayed. Despite the minor difference, the ACL for the owner is effectively almost identical to full control. The following example of a full control ACL and a "RWX" ACL can be found below: Owner: Access: - , Permissions Inheritance: rwxp-DaARWcCo:----
Group: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:---- Everyone: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:---- -> Full Control ACL: Owner: Access: Full Control , Permissions Inheritance: rwxpdDaARWcCo:fd--
Group: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:fd-- Everyone: Access: Read& Execute, Permissions Inheritance: r-x---a-R-c--:fd-- SolutionAt this moment, there is no solution to this problem, but there has been raised an Enhancement Request for this issue: BUG 15547207 - SUNBT6814333 want ability to modify ACLs from the CLI
To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance Community
Attachments This solution has no attachment |
||||||||||||||||
|