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)

24 Branch
x86_64
Linux
defect
Not set
normal

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.
oops, the whole point of this bug was it *doesn't* block all of that stuff
No longer blocks: 756315, 961080, 1009465, 1022816, 1022820

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
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.