Moz profile migration confused by read-only 4.x prefs.js

RESOLVED INCOMPLETE

Status

Core Graveyard
Profile: Migration
P3
normal
RESOLVED INCOMPLETE
18 years ago
2 years ago

People

(Reporter: Jeffrey Baker, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
My Netscape 4.x profile has prefs.js set to mode 0444, because of 4.x's annoying
habit of overwriting manual prefs.js changes.  This confuses the Mozilla's
profile migration.  The migrator copies prefs.js to the mozilla profile
directory, but it does not adjust the mode.  Then it tries to write to the file,
and gets an unhanlded error.  To reproduce in Linux build 2000080409 M18:

1) chmod -w ~/.netscape/preferences.js
2) rm -rf ~/.mozilla
3) ./mozilla -installer
4) choose to migrate your 4.x profile
5) problems

In 2000080409 M18, the installer simply spins without feedback, and the error on
the console is:

failed to migrate properly. err=-2147467259

In the previous day's build, a dialog box appeared complaining that there wan't
any disk space remaining.  In both cases, the handling is wrong.  Mozilla should
either:

1) enforce the mode on newly created files that it intends to write, or
2) gracefully handle errors when writing to files.

Actually both of those would be worthy goals.

Updated

18 years ago
Status: NEW → ASSIGNED

Comment 1

16 years ago
Reassigning profile migration bugs to the current owner
Assignee: dbragg → racham
Status: ASSIGNED → NEW

Updated

16 years ago
Blocks: 123929

Updated

15 years ago
No longer blocks: 123929
mass re-assign.
Assignee: racham → sspitzer
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
QA Contact: agracebush → profile-migration
Blocks: 1243899

Comment 4

2 years ago
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE.

If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
No longer blocks: 1243899
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
(Assignee)

Updated

2 years ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.