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:
280
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
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

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device