Running chmod g+s on a directory removes the SGID bit when the user is not part of the group
- ONTAP 9.3P15 till P18
- ONTAP 9.4P8
- ONTAP 9.5P8 till P11
- ONTAP 9.6
- ONTAP 9.7
- 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