Skip to main content
NetApp Knowledge Base

Running chmod g+s on a directory removes the SGID bit when the user is not part of the group

Views:
194
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
Last Updated:

Applies to

  • ONTAP 9.3P15 till P18
  • ONTAP 9.4P8
  • ONTAP 9.5P8 till P11 
  • ONTAP 9.6
  • ONTAP 9.7

Issue

  • When SGID bit is set on a directory and a user whose effective group ID (gid) or one of the supplementary group IDs does not match with the group ID of the directory, then running chmod g+s will remove the SGID bit set on the directory. 
  • The user will be unable to set the SGID bit again back on the directory

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device