ls -l obscures important information

jgy at hropus.UUCP jgy at hropus.UUCP
Fri Mar 13 02:32:54 AEST 1987


> I had a maddening problem in which a member of a group could not
> execute a program that was setgid to that group.  After some fuddling
> around I chmoded the program again and suddenly it worked.  Turned
> out that a mistake in a makefile had caused the program to be
> installed originally with mode 2701 - not executable by the group -
> but of course ls -l shows  rwx--s--x   as if all were well.
> 
> Jim Haynes
> ...ucbvax!ucscc!haynes
> haynes at ucbarpa.berkeley.edu
> haynes at ucscc.bitnet
> 

On SVR2 systems if a 's' is NOT covering an 'x' it is shown in upper-case
so ls would have shown rwx--S--x



More information about the Comp.unix.wizards mailing list