Open
Bug 437216
Opened 16 years ago
Updated 2 years ago
Add support of NTFS permissions in nsLocalFile::IsWritable
Categories
(Core :: XPCOM, enhancement)
Tracking
()
NEW
People
(Reporter: ronny.perinke, Unassigned)
References
()
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.15pre) Gecko/20080419 Firefox/2.0.0.15pre (Sephiroth/SSE2)
Build Identifier:
IsWritable only checks whether or not the read-only attribute is set. But on NTFS, there could be the situation where it's not set and the user has no right to write to a file or create files in the directory.
I wrote a little example how to retrieve the effective rights for the user that runs the application (owner of the calling thread or process).
Reproducible: Always
Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•16 years ago
|
||
Jim, is this something you might be able to take? We currently have all sorts of nasty hacks in the extension manager to verify that we can add files to a directory because this API doesn't work correctly at the moment.
Updated•16 years ago
|
Assignee: nobody → jmathies
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
some last minute cleanup totally broke that last patch. pushed to try, I might try to work up a test as well. since we don't use ntfs on our test slaves it wouldn't run normally but devs would still be able to test.
Attachment #590226 -
Attachment is obsolete: true
Updated•12 years ago
|
Assignee: jmathies → nobody
Comment 7•6 years ago
|
||
No assignee, updating the status.
Comment 8•6 years ago
|
||
No assignee, updating the status.
Comment 9•6 years ago
|
||
No assignee, updating the status.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•