I have a folder which I want to share with users of a group named frx
. I had applied chmod g+s
to the folder, but for some reason the SUID bit (for folders in the /home/frx directory) came out as S
instead.
> pwd
/home/frx
> ls -al
drwxrws---+ 14 ferc frx 4096 Dec 24 23:20 .
drwxr-xr-x 8 root root 4096 Dec 2 12:48 ..
...
drwxrwS---+ 20 pi frx 4096 Dec 19 18:50 views
From what I read, s
and S
shouldn't be any different if a user is just opening a file. However, another user in the group frx
is unable to view or access files in the views
directory, even though there are read/write permissions for the group. (He could touch
files in /home/frx without problem.) Why is this happening?
How do I change the SUID bit to s
for a directory?