Closed
Bug 538929
Opened 16 years ago
Closed 15 years ago
Some "system" directories are created with wrong permissions
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
|
446 bytes,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
nsXREDirProvider::EnsureDirectoryExists creates directories with 0700 permissions, which is fine for most directories, which are to be created in the user profile directory, but there are two cases in nsXREDirProvider where this is wrong:
XRE_SYS_LOCAL_EXTENSION_PARENT_DIR and NS_APP_PREFS_OVERRIDE_DIR.
Either EnsureDirectoryExists should not be used or a new function that creates directories 0755 should be added. Which one would you prefer ? (personally, I'd prefer if mozilla apps would stop writing to the system filesystems altogether, but the present issue is only a small part of that...)
Note that for the former, the quite similar XRE_SYS_SHARE_EXTENSION_PARENT_DIR does *not* use EnsureDirectoryExists.
| Assignee | ||
Comment 1•15 years ago
|
||
Assignee: nobody → mh+mozilla
Attachment #435837 -
Flags: review?(benjamin)
Updated•15 years ago
|
Attachment #435837 -
Flags: review?(benjamin) → review+
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
| Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•15 years ago
|
||
| Assignee | ||
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•