[lkml]   [2006]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectchmod 111
Hi All,

First, I apologise if this isn't a kernel question, but I think it is related.

Slackware 10 base,

I am normal user, in groups users and wheel. Why can I do this:

nick@linuxamd:nick$ which ls
nick@linuxamd:nick$ ls -lsa /usr/bin/ls
0 lrwxrwxrwx 1 root root 12 2004-07-22 22:52 /usr/bin/ls -> ../../bin/ls
nick@linuxamd:nick$ cd /bin
nick@linuxamd:bin$ sudo chmod 111 ls
nick@linuxamd:bin$ ls -lsa ls
76 ---x--x--x 1 root bin 72608 2004-03-16 02:08 ls

I shouldn't be able to execute 'ls' as I can't read it, shouldn't it?

"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-03-17 18:49    [W:0.074 / U:2.704 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site