Closed
Bug 1028366
Opened 10 years ago
Closed 3 years ago
OS.File APIs for setting file access permissions
Categories
(Toolkit Graveyard :: OS.File, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: zwol, Unassigned)
References
Details
+++ This bug was initially created as a clone of Bug #1001849 +++
bug 1001849 comment 20
> Also, we will need to either add a `OS.Error.prototype.becauseSomething` in
> osfile_{unix, win}_allthreads.jsm to handle EPERM or add EPERM to
> `becauseAccessDenied`.
EPERM is subtly different from EACCES: the normal semantics of EACCES are "DAC says you don't have that kind of access to that file", the normal semantics of EPERM are "that *operation* can be performed only by the owner of the file". I'm not sure what `becauseAccessDenied` is supposed to cover.
As this is not required for bug 961080 I am spinning it off to its own bug.
Reporter | ||
Comment 1•10 years ago
|
||
oops, the whole point of this bug was it *doesn't* block all of that stuff
Comment 2•3 years ago
|
||
Mass closure: OSFIle is being replaced with IOUtils and PathUtils. If you think this bug was closed in error, please re-open.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•