Closed
Bug 24052
Opened 25 years ago
Closed 24 years ago
Save/Saving switches on the execute bit.
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
FIXED
M17
People
(Reporter: chimera, Assigned: dougt)
Details
Attachments
(4 files)
1.87 KB,
patch
|
Details | Diff | Splinter Review | |
1.85 KB,
patch
|
Details | Diff | Splinter Review | |
863 bytes,
patch
|
Details | Diff | Splinter Review | |
691 bytes,
patch
|
Details | Diff | Splinter Review |
When saving with the Editor under Build ID 2000011018. The file saved would have the executable/execute bit turned on. ie instead of the file's permission being 644, they were 755 (with a umask of 022). This would only affect Unix-like filesystems.
(How did shaver@netscape.com get in the bugzilla database again?) What am I tracking? I'm lost -- why is this my bug?
Assignee: shaver → shaver
Beppe?
Comment 4•24 years ago
|
||
because you were the unix god around here -- will assign it to kin to see what can be done
Assignee: shaver → kin
Updated•24 years ago
|
Target Milestone: --- → M18
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
About the above patch: Works in Linux so that default permissions are 655 (or whatever you want them to be). The problem was that the wrong nsOuputFileStream constructor was used and defaulting to 700 in src/mozilla/layout/base/src/nsDocument.cpp.
Comment 7•24 years ago
|
||
Comment 10•24 years ago
|
||
asking Kin to review the patch so mozilla folks can approve for checkin
Keywords: patch
Target Milestone: M18 → M17
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
Waiting for permission from waterson@mozilla.org or brendan@mozilla.org to check in the fix.
Comment 13•24 years ago
|
||
dougt@netscape.com changed the default permissions to 0666 so the patch is no longer neccessary. mozilla/xpcom/io/nsFileStream.cpp revision 1.29 mozilla/xpcom/io/nsFileStream.h revision 1.34 a=brendan@mozilla.org
Assignee: kin → dougt
Status: ASSIGNED → NEW
Comment 14•24 years ago
|
||
Marking fixed for dougt@netscape.com.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•