Re: chmod 111

From: Helge Hafting
Date: Sat Mar 18 2006 - 09:07:10 EST


On Fri, Mar 17, 2006 at 06:11:01PM +0000, Nick Warne wrote:
>
> Yes, I see now after much messing about. Why then are most binaries chmod
> 755? Who would need (why) to read a [system] binary?

The system binaries are normally not considered secret. (You can
download source for any of them.) So why prevent anyone from reading them?

Reading the binaries are convenient for copying them, or backing them
up. This don't happen often, but there is no need to make life difficult
as these files contain no secrets.

Similiarly - lots of files in etc could be made root only. But
there is no need. Making more stuff root only also force people to
use root more often, which is a bad thing.

Helge Hafting
-
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/