coreutils
[Top][All Lists]
Advanced

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

Re: Bug#782869: coreutils: rm, ls, cd, mkdir, etc should be set so root


From: Pádraig Brady
Subject: Re: Bug#782869: coreutils: rm, ls, cd, mkdir, etc should be set so root cant remove them.
Date: Sun, 19 Apr 2015 23:49:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 19/04/15 20:25, Richard Jasmin wrote:
> I believe this dev is in ERROR.It is insufficient to just say root has 
> ultimate access.
> System should have that access, not root. Root should never be able to do 
> this, its too easy to take down a system with rm. Package components can 
> still be removed, despite the non-ability to remove the package as a 
> whole.Package components should use +i or equivalent. Im sorry if the dev 
> doesnt agree.

Other than protect inadvertent removal as the --preserve-root option does,
there is nothing more I see that coreutils can or should do here.

Perhaps on a system/distro configuration basis you might want
to auto set -I for rm invocations by the root user,
or otherwise protect important files with chattr +i,
or other protections.

thanks,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]