Permission bit
Can anyone tell me what is this L bit in groups last bit ??
I got this line in one of my directory.. Code:
-rwxrwLr-x 1 tmmlprod user 956900 Dec 10 15:32 409001000114.pdf |
Some implementations of the ls command use L to denote the set-group-id bit, whereas you usually see a S. The uppercase L means that the execution bit is not set, otherwise you would see a lowercase l. The same applies when ls shows it as S or s.
An example of an executable with the setgid bit set is the command wall. In this case the l should be lowercase, since the execution bit is set. Check it on your system to verify: Code:
ls -l `which wall` Lastly, you can find some information about the L permission bit here. |
Quote:
Code:
-rwxr-xr-x 1 root sys 19332 Sep 2 18:54 /sbin/wall Thanks for the info. But if executable bit is not set, then it should remain blank. |
Quote:
Quote:
1. on executables: the user who executes the program gains privileges of the group to which the file is assigned. 2. on not-executables: processes are granted to use the mandatory locking on these files. See this document for details: http://kernel.org/doc/Documentation/...ry-locking.txt 3. on directories: this causes new files created inside the directory to inherit its group ID. |
Quote:
Actually I got it on an very old Unix System ( IRIX 6.5 ). |
All times are GMT -5. The time now is 08:58 PM. |