![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||
Solution Type Problem Resolution Sure Solution 2147053.1 : Oracle ZFS Storage Appliance : Permission Denied Reported when Attempting to Create Files After Performing 'setgid'
In this Document
Created from <SR 3-12734417531> Applies to:Oracle ZFS Storage ZS3-2 - Version All Versions to All Versions [Release All Releases]Oracle ZFS Storage ZS3-4 - Version All Versions to All Versions [Release All Releases] Oracle ZFS Storage ZS4-4 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7420 - Version All Versions to All Versions [Release All Releases] Sun ZFS Storage 7320 - Version All Versions to All Versions [Release All Releases] 7000 Appliance OS (Fishworks) SymptomsA NFSv4 share was mounted on a Solaris client. A user is able to create files and directories inside the share. But as soon as a setgid is done on a directory, the user is not able to create any files. On ZFS Storage Appliance under Shares > Protocol, the property "Disable setuid/setgid file creation" is unselected. All file permissions look fine.
CauseFurther diagnosis of the issue determined that the user, for example "sayaka", belonged to two groups - Primary Group lib-staff and Secondary Group library. On client side : Without setgid : Setgid enabled :
This issue was seen because the ZFS-SA is not part of any directory service. As a result, the ZFSSA and the client are not in sync for the user database.
SolutionIt was found that ZFS-SA was not added to any directory service. As soon as the ZFS-SA was added to LDAP (directory service), the user was able to create files when setgid was set on the directory.
Attachments This solution has no attachment |
||||||||||||||||
|