Closed Bug 93970 Opened 23 years ago Closed 23 years ago

File -> Open File does not open symbolic linked directories

Categories

(Core :: XUL, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: jdunn, Assigned: bryner)

References

Details

Attachments

(1 file, 1 obsolete file)

I am running with 0.9.3, Help -> About Mozilla gives me
    Mozilla 0.9.3  
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801

Build ID: 2001080104

I have /builds/jdunn symbolicly linked to /builds/bobo (which
is a directory.

Using File -> Open File, I can browse into /builds/bobo 
HOWEVER if I try to open up /builds/jdunn it never enters
into /builds/bobo directory.

This does NOT happen with my 0.9.2 build.

This fails on both my debug 0.9.3 build and the build that
I downloaded from mozilla.org.

ls -al /builds (gives me the following)
total 28
drwxrwxr-x    4 root     wheel        4096 May 25 11:34 ./
drwxr-xr-x   26 root     root         4096 May 23 12:58 ../
drwxr-xr-x   11 bobo     wheel        4096 Aug  6 13:26 bobo/
lrwxrwxrwx    1 bobo     wheel           4 May 25 11:34 jdunn -> bobo/
drwxr-xr-x    2 root     root        16384 Apr 20 20:25 lost+found/
I believe that this is a file viewer bug.
Assignee: dougt → trudelle
Component: Networking: File → XP Toolkit/Widgets
QA Contact: benc → aegis
I can't find the dup for this, but I'm sure it is out there. Do you know, 
bryner?
--> bryner
Assignee: trudelle → bryner
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
This bug also occurs for File -> Save As (no surprise), and when double-clicking
on a symlinked *file* (not just a directory).  

Interestingly, single-clicking on a symlinked file or directory and then
clicking on "Open"/"Save" works correctly.  This provides a workaround.
*** Bug 99946 has been marked as a duplicate of this bug. ***
Mass-moving lower-priority 0.9.5 bugs off to 0.9.6 to make way for remaining
0.9.4/eMojo bugs, and MachV planning, performance and feature work. If you
disagree with any of these targets, please let me know.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
*** Bug 100121 has been marked as a duplicate of this bug. ***
*** Bug 100539 has been marked as a duplicate of this bug. ***
*** Bug 102274 has been marked as a duplicate of this bug. ***
*** Bug 104865 has been marked as a duplicate of this bug. ***
is this bug a dupe of bug 92329 ?
Attached patch patch to fix. ready for review. (obsolete) — Splinter Review
Attachment #54859 - Flags: review+
okay, the last patch totally fixes the problem for double clicking symlinked
dirs and also fixing double clicking symlinked files.
Attachment #54859 - Attachment is obsolete: true
Attachment #54873 - Flags: review+
Comment on attachment 54873 [details] [diff] [review]
better patch that just removes problem

yeah, it looks like the behavior of nsIFile changed at some point and it's now resolving symlinks for us... this does fix the problem, so r=bryner.
Comment on attachment 54873 [details] [diff] [review]
better patch that just removes problem

sr=ben@netscape.com
Attachment #54873 - Flags: superreview+
Checked in, thanks for the patch.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Still not working... build 2001102706-trunk.
Does work in 2001102721, so never mind.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: