Re: chmod 111

From: Phillip Susi
Date: Fri Mar 17 2006 - 13:17:58 EST


Nick Warne wrote:
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?


Of course you can execute it because you have execute permission. Lack of read permission just prevents you from read()ing the file.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/