![]() | |||||||||||
Messages in this thread |
On Friday 17 March 2006 18:07, Felipe Alfaro Solana wrote: > > I shouldn't be able to execute 'ls' as I can't read it, shouldn't it? > > Nop... you can execute binaries even if the read permission is not > granted. Note that I said "binaries". Shell script files need read and > execute permission, since they must be read by a shell interpreter in > order to get executed. Hi Felipe, First, apologies as this isn't kernel issue (but related, I suppose). Yes, I see now after much messing about. Why then are most binaries chmod 755? Who would need (why) to read a [system] binary? Nick -- "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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2006-03-17 19:13 [from the cache] ©2003-2008 | |||||||||||