Closed
Bug 290898
Opened 21 years ago
Closed 21 years ago
created file has wrong permissions
Categories
(Core :: Networking: File, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: surkov, Assigned: darin.moz)
Details
Attachments
(1 file)
|
866 bytes,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050415
When I create file with 0777 permissions by nsILocalFile.create() method then
created file has 0755 permissions.
Reproducible: Always
Steps to Reproduce:
| Reporter | ||
Comment 1•21 years ago
|
||
| Reporter | ||
Updated•21 years ago
|
OS: Windows 2000 → Linux
| Assignee | ||
Comment 2•21 years ago
|
||
What is your umask set to? Ordinarily under Unix (Linux included), the
requested file permissions are affected by the current user's umask. That
allows users to ensure that all files created by all applications that they use
are created with a limited set of permissions. Perhaps this is not a bug?
| Reporter | ||
Comment 3•21 years ago
|
||
You're right. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Comment 4•21 years ago
|
||
vrfy. you can nsIFile::permissions to set the permissions to the exact value you
want.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•