Solaris group ID permission drwxrwS--x

why is the group id in capital S and not lowercase s ?
I have a directory with the following permissions:
drwxrws--x
when I remove the group id and add it again with g+s or chmod 2765 , it
displays the group ID in capital "S" instead of lowercase "s"
tried to find this out on Google, but there is almost nothing mentioned.
this looks like a bug, anyone else had this problem?

---------- Post updated at 11:57 PM ---------- Previous update was at 11:48 PM ----------

never mind, found the problem, you would first need execute permission on the group

The capital S means that you have set the SGID bit.
There is an explanation in man ls .

1 Like

S - setgid bit is set and executable bit is not set
s - setgid bit is set and executable bit is set

1 Like