Closed Bug 294469 Opened 20 years ago Closed 20 years ago

RFE: Installer should never remove important directories (e.g. /usr/lib)

Categories

(Firefox :: Installer, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 234479

People

(Reporter: graham.knap, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
Build Identifier: 

Reported to me by a friend...

He had a system running Debian Sarge with the Debian mozilla-firefox package 
installed. He ran the Firefox 1.0.4 installer (downloaded from mozilla.org). It 
found mozilla-firefox in /usr/lib and prompted him to remove the entire 
directory. He accidentally hit Yes... and sure enough, /usr/lib got wiped.

Would it be possible for the installer to check before removing an entire tree, 
to see if it appears to be a large and important part of the filesystem -- 
e.g. /usr/lib, /usr/bin or something like that?

I know the real problem is "you should be more careful especially when running 
things as root" -- but I think it would be nice if the installer could prevent 
a serious user error like this.

Reproducible: Didn't try

Steps to Reproduce:
.
Actual Results:  
.

Expected Results:  
.

.

*** This bug has been marked as a duplicate of 234479 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.