How to set to this permission
I have a file , this file must be in the following permission if we want to use it.
-rws--s--x I tried to use chmod +s file_name but not work , can advise how to change the mode ? besides , what is "s" permission means ? Thanks. |
http://www.comptechdoc.org/os/linux/..._ugfilesp.html
Quote:
Hopefully this is of some use, I've never used the s flag for permissions, so I don't have any personal experience with it. From what I can tell, this would give you the permissions you seek: Code:
chmod 711 file |
Code:
chmod ug+s filename To set all perms as above Code:
chmod u=rwxs,g=sx,o=x filename |
All times are GMT -5. The time now is 03:39 AM. |