why cant I change this back to 775 ...when i try it stays like this drwsrwsr-x
what is the s and why is it not drwxrwxr-x
|
why cant I change this back to 775 ...when i try it stays like this drwsrwsr-x what is the s and why is it not drwxrwxr-x
| ||||
feedback
|
|
The s you are seeing in x position on user and group column is called suid (for user column) and sugid ( for group column ) bit You can remove them with | |||||
|
feedback
|
Run to delete setuid and setgid:
| |||||||||
feedback
|
|
Adding to ooshro's answer... If you use suid or sgid permissions on a directory, any files created inside that directory will have the same owner (if suid) or group (sgid) as the directory in question. I use that for my home Samba share. The base directory is owned by user nobody and group olympia, and the permissions are 2770. So you have to be in the group olympia to read or write anything below that directory, and it will make sure olympia is the owning group of everything below it. I also have Samba configured to use a dirmask of 2770 and a filemask of 660 to keep the permissions correct all the way down the tree. | |||
|
feedback
|