LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Weird Permission on Folder (https://www.linuxquestions.org/questions/linux-newbie-8/weird-permission-on-folder-830607/)

InfoSearcher 09-06-2010 10:51 AM

Weird Permission on Folder
 
Hello,
I have a folder with the following permissions:

drwx--S--- 10 user group 4096 2010-08-30 17:27 FolderName

Could someone kindly explain to me what the --S is?
I would like to change the permissions of FolderName to either chmod 770 or 750.
I was just wondering if changing the permissions will affect the --S?

Thank you,
DG

sem007 09-06-2010 10:55 AM

Quote:

Originally Posted by InfoSearcher (Post 4089562)
Hello,
I have a folder with the following permissions:

drwx--S--- 10 user group 4096 2010-08-30 17:27 FolderName

Could someone kindly explain to me what the --S is?
I would like to change the permissions of FolderName to either chmod 770 or 750.
I was just wondering if changing the permissions will affect the --S?

Thank you,
DG

S is a sgid (special permission).look here for Basic information on special permission

If you set permission 750 or 770 sgid permission will be removed.

HTH


All times are GMT -5. The time now is 12:00 AM.