Closed Bug 278284 Opened 20 years ago Closed 18 years ago

read-only default files remain read-only when copied to profile

Categories

(Firefox :: File Handling, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: danm.moz, Assigned: tracy)

Details

(Keywords: qawanted)

1) Use a copy of the Firefox program built of read-only files.
  (a) chmod -R 444 your program directory, or do what I did:
  (b) "install" a copy of the program by copying the program directory
      to your hard disk directly from a CD
  (c) no doubt this also shows the problem: try running Firefox from a CD
  admittedly all scenarios are unusual, but none should be a problem
2) Delete (or rename) your user profile. Pretend this a new installation.
3) Launch Firefox. Quit.

The newly generated profile is full of read-only default files, making it static
and useless. Disregarding whatever hokey reason your program directory may
contain read-only defaults, when building a new copy in the user's profile from
program templates, Firefox should initialize them writeable.

I believe that when I accidentally discovered this some time ago, only certain
profile files were read-only. I think every *.js, *.html, and *.rdf file was
affected, and only those files. But memory is a little fuzzy on that.
Keywords: qawanted
Reassining to Tracy for QA: bump back to me if you can reproduce this.
Assignee: benjamin → walkerrunner
On WinXP I couldn't reproduce this. However, changing the installation directory
and it's contents to Read Only caused Uninstall to hang in 100% CPU 
The reference to chmod in the bug description would suggest the reporter's on some sort of *nix platform.
This has happened now on the 2001 DE release :-/ 

Releated bugs are:

Bug 364599 Some new created profile files are write protected, for example bookmarks.html and localstore.rdf  
Bug 367084 updater will fail to apply any complete updates if *any* files are " read only" 


QA Contact: ali → file.handling
This is fixed by Bug 364599 now.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.