Closed Bug 24052 Opened 25 years ago Closed 24 years ago

Save/Saving switches on the execute bit.

Categories

(Core :: DOM: Editor, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: chimera, Assigned: dougt)

Details

Attachments

(4 files)

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.
going to shaver for tracking
Assignee: beppe → shaver
(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
because you were the unix god around here -- will assign it to kin to see what 
can be done
Assignee: shaver → kin
Target Milestone: --- → M18
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.
Accepting bug.
Status: NEW → ASSIGNED
asking Kin to review the patch so mozilla folks can approve for checkin
Keywords: patch
Target Milestone: M18 → M17
Waiting for permission from waterson@mozilla.org or brendan@mozilla.org to check
in the fix.
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
Marking fixed for dougt@netscape.com.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 10/30 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: