Closed Bug 70721 Opened 24 years ago Closed 24 years ago

[RFE] nsILocalFile needs a way to unlink symlinks

Categories

(Core :: XPCOM, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: pete, Assigned: dougt)

Details

nsILocalFile needs a way to unlink symlinks --pete
Target Milestone: --- → Future
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 → ---
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
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
Target Milestone: --- → Future
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.