Closed Bug 29116 Opened 25 years ago Closed 25 years ago

0777 seems to be the only permission that doesn't work

Categories

(Core :: XPCOM, defect, P3)

x86
FreeBSD
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: pete, Assigned: dougt)

Details

Attachments

(2 files)

Atteched test case shows an example of creating a dir using:

create(1, 0777);

which should give the dir permissions: drwxrwxrwx

However it gives it permissions 0755 or drwxr-xr-x

I tested a bunch of other permissions and they all seem to work just not this
one.

pete
Attached file js test case
Attached file use this one
sounds like a umask issue.  Can you type 'umask' in the shell that starts 
mozilla?  

Chris, does this sound like the case?  create basically calls through to 
creat() and passes the mode 0777.
Yeah, that's the case.  Changing the process's umask() is a messy business.
I am going to mark as wontfix based on your comment.  
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
This is no longer an issue in current builds.

Why, i have no idea. But i think you can mark invalid if you want.


pete
Adding verifyme keyword.
Keywords: verifyme
Marking Verified.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: