LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File Permissions (https://www.linuxquestions.org/questions/linux-newbie-8/file-permissions-891320/)

mattgeorge 07-12-2011 12:04 PM

File Permissions
 
I was checking the file permissions by using the ls -l command. It seems some files have permission as :


-rwsr-xr-x 1 root root 35864 Jan 20 2009 ping*
-rwxr-xr-x 1 root root 345764 Jan 21 2009 tcsh*
-rwsr-xr-x 1 root root 38936 Jan 21 2009 umount*
-rwsr-xr-x 1 root root 58324 Jan 21 2009 mount*

here, for the files ping,umount and mount the execute privilege for the user is set as "s".. i am un familiar with "s" in access privilileges.

Thanks in advance for the help.

Tinkster 07-12-2011 12:12 PM

setuid

alfredo10 07-12-2011 12:12 PM

Hi!
Please see here:
http://en.wikipedia.org/wiki/Filesystem_permissions
alfredo

colucix 07-12-2011 12:13 PM

It is the setuid access right, to run the executable with the permissions of the owner of the executable (in this case root).

catkin 07-12-2011 12:15 PM

The s is showing that setuid is set.


All times are GMT -5. The time now is 11:41 AM.