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

Re: RFC: preventing accidental deletion of system directories



On Sat, Mar 22, 2008 at 03:50:32PM -0500, William Pitcock wrote:
> Hi,
> 
> On Sat, 2008-03-22 at 13:51 +0100, Adam Borowski wrote:
> > To get those Vistaesque questions, "alias rm='rm -i'" is surely not
> > worth a
> > package.  It's slightly larger in scope, but only slightly, as
> > removing
> > files as root means you mess with system directories, right? 
> 
> Yes, that's what I mean: what's wrong with making rm -i the default
> behaviour? We could do that by simply patching coreutils.

Or we could enforce most system directories to be mounted read-only, and
have dpkg remount then rw when it needs write access.

Mike


Reply to: