Closed
Bug 130237
Opened 24 years ago
Closed 22 years ago
MacOSX: Local soft links do not work
Categories
(Core :: Networking: File, defect)
Tracking
()
VERIFIED
WORKSFORME
Future
People
(Reporter: gt, Assigned: dougt)
Details
If have my home page locally on my hard disk. I have a subdirectory ftp
which is a (unix) soft link to another directory:
[gerald@madmushroom gerald]$ ls -l /home/gerald/public_html |grep ftp
lrwxr-xr-x 1 gerald staff 21 Mar 10 20:53 ftp -> /home/ftp/pub/teschl/
If I specify this link in the URL:
file:///MacOS%20X/home/gerald/public_html/ftp/index.html
I will only get a blank page in the browser window. This worked fine in 0.9.7.
.
Assignee: asa → law
Component: Browser-General → File Handling
QA Contact: doronr → sairuh
Comment 2•24 years ago
|
||
um, no. this is networking
Assignee: law → dougt
Component: File Handling → Networking: File
QA Contact: sairuh → benc
Comment 3•24 years ago
|
||
Reporter: Still a problem with 0.9.9 or later ?
| Reporter | ||
Comment 4•24 years ago
|
||
Yes, this is still present in 0.9.9.
| Reporter | ||
Comment 6•24 years ago
|
||
Works fine in the linux version.
Gerald, does it work using other browsers on the same machine?
Summary: local soft links do not work → Local soft links do not work
| Reporter | ||
Comment 8•24 years ago
|
||
Yes. No problems with e.g., Internet Explorer 5.
It also works with older versions of mozilla (before 0.97 or so).
Still broken in RC1.
WFM: Mac OS X, RC1
I think we need to make sure your file URL points to the linkfile on disk. Using
"File | Open File..." is the easiest way to do this.
MacOS X is confusing for two reasons:
MacOS applications see the file system differently than UNIX processes (like
Terminal.app's shell session)
Files that are not group=admin are not visible to the applications (for example
/etc is visible, but /private is not.)
STEPS:
[localhost:/tmp] benc% cat > file
this is a file
[localhost:/tmp] benc% ln -s file link
[localhost:/tmp] benc% ls -l link
lrwxrwxrwt 1 root wheel 4 May 3 10:16 link -> file
In your environment, you probably have an even more complicated permissions setup.
Keywords: qawanted
| Reporter | ||
Comment 10•24 years ago
|
||
Yes you are right, it looks like this is probably a OS X problem and not a
mozilla problem. I made a mistake with IE. IE cannot find the file as well
and produces "File not found". Mozilla produces a blank page.
However, if I click on the link in the Finder it wors. If I choose it from the
Open File dialog it works as well, but it looks like the file dialog
translates the link to its real loacation and then passes the real location to
Mozilla.
If I use Mozilla as file browser, it will see the link and display the link as
a directory. But I try to enter the dirctory, I get a blank white page.
I tried to change the group to adin, but it makes no difference
[gerald@madmushroom gerald]$ whoami
gerald
[gerald@madmushroom gerald]$ ls -l public_html/ |grep ftp
lrwxr-xr-x 1 gerald staff 21 Apr 22 13:18 ftp -> /home/ftp/pub/teschl/
[gerald@madmushroom gerald]$ ls -ld /home/ftp/pub/teschl/
drwxr-sr-x 17 gerald admin 534 Mar 18 10:53 /home/ftp/pub/teschl/
Comment 11•24 years ago
|
||
Okay. I wasn't really completely looking at the problem you suggested.
Do both the following directories work?
file:///MacOS%20X/home/gerald/public_html/
file:///MacOS%20X/home/ftp/pub/teschl/
I created a couple links, and verified the problem you have.
I've also seen a variation among systems (PB G3, iBook and G4) about what top
level folders are displayed. One showed everything (even hidden files), one
showed all normal UNIX files, and one showed only "admin" group'd files.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Local soft links do not work → MacOSX: Local soft links do not work
| Assignee | ||
Updated•24 years ago
|
Keywords: helpwanted
Target Milestone: --- → Future
Comment 14•23 years ago
|
||
RESOLVED/WFM:
Mac OS X 10.2.6, Mozilla 1.4b.
I've tested a variety of combinations, and soft links seem to work fine.
However, I cannot display a directory that has a soft link that points to a
non-existent file (bug 207973)
Updated•22 years ago
|
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Comment 15•21 years ago
|
||
V/wfm.
Asa concurred from my comment.
Status: RESOLVED → VERIFIED
Keywords: helpwanted
You need to log in
before you can comment on or make changes to this bug.
Description
•