[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: access rights in /sbin and /bin [Update]

On Mon, Dec 08, 2008 at 10:33:02AM -0500, Lennart Sorensen wrote:
> On Sun, Dec 07, 2008 at 04:11:04PM +0100, Hans-J. Ullrich wrote:
> > thanks for the list. I checked and found out, that a lot of binaries in /sbin 
> > got permissions to rwxr-xr-- (root:root), but they should have rwxrwxr-x. I 
> > wondered, as I never changed the rights manually in the past and I am sure, I 
> > have not been hacked. So there is only one explanation: an applicatiopn must 
> > have changed it. Does someone know, which application is changing rights of 
> > binaries below /sbin ? I suppose, it is either bastille (which I installed 
> > and deinstalled a long time ago) or selinux (which i still installed). 
> > 
> > Please, which manual did i miss to read ???
> So far the only thing I have ever seen that causes that is silly people
> who mess with the umask of the root user (which causes dpkg to make lots
> of mistakes).

Perhaps dpkg shouldn't rely on the umask of the root user?  Perhaps is 
should set it itself?  Could this be considered a dpkg bug?

-- hendrik

> So if you ever set a umask for your root user, well don't and reinstall
> every affected package to fix the permissions.
> -- 
> Len Sorensen
> -- 
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: