Closed
Bug 70721
Opened 24 years ago
Closed 24 years ago
[RFE] nsILocalFile needs a way to unlink symlinks
Categories
(Core :: XPCOM, enhancement)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: pete, Assigned: dougt)
Details
nsILocalFile needs a way to unlink symlinks
--pete
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → Future
Comment 1•24 years ago
|
||
Reporter what do you mean by this bug? We need more detail otherwise were going
to mark this invalid.
OS: other → Linux
Hardware: Other → All
Target Milestone: Future → ---
Reporter | ||
Comment 2•24 years ago
|
||
Dougt asked me to file these bugs for consideration for the new nsIFile API
changes that will be coming down the pipe.
Right now you can't delete a symlink in mozilla.
So this is a bug.
--pete
Comment 3•24 years ago
|
||
Marking NEW.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: nsILocalFile needs a way to unlink symlinks → [RFE] nsILocalFile needs a way to unlink symlinks
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → Future
Reporter | ||
Comment 4•24 years ago
|
||
This seems to be fixed now.
--pete
js> const localFile='/tmp/foo_link';
js> const File=new Components.Constructor("@mozilla.org/file/local;1",
"nsILocalFile");
js> var f=new File();
js> f.initWithPath(localFile);
js> f.exists();
true
js> f['delete'](false);
js> f.exists();
false
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•