Re: Bug#4049: access permissions for sysklogd
Daniel Quinlan <quinlan@bucknell.edu> writes:
>> /sbin/klogd and /sbin/syslogd should be 755.
Martin Schulze <joey@finlandia.Infodrom.North.DE> writes:
> Why? I don't see any reason they should be executable by everyone.
> I have copied those permissions from my predecessor and I agree to
> them.
First, I think the Debian package standards specify that all binaries
should be executable by everyone.
Second, it's really simple to check whether the person running the
program has permission with geteuid(2). If they don't, print a polite
message.
Dan
Reply to: