Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problem with alias/symlink on SMB-connections

After upgrading to SL i no longer can access our company web root directory.

Our web pages are located on a Linux server, and usually connect to this server using a SMB-connection to my home directory.

In my home directory, there is a symbolic link (symlink) to the root directory of our web-pages. In a unix shell on the linux machine, it looks like this:

agnar@e206:~$ pwd
/home/agnar
agnar@e206:~$ ls -l
...
lrwxrwxrwwx 1 root agnar 20 7 mai 2006 web_root -> /home/srv/html/emap/
...

This symlink works as any directory, so I can easily

agnar@e206:~$ cd web_root
agnar@e206:~/web_root$

In OSX10.5, the web_root symlink displayed and behaved just like any directory or folder (as it is supposed to do).

The same applies to connections from any MS Windows computer.

But it appears that SL tries to be too smart.

In finder, this symlink is displayed as an "Alias" (in the Type column)

When I double-click the alias, I get an error message (translated from Norwegian) "The alias, «web_root» can not be opened because the original object could not be found". And buttons to delete the alias, repair the alias or just "OK".

When I try the following command in a terminal shell on my Mac.

mcagnar2:agnar agnar$pwd
/Volumes/agnar
mcagnar2:agnar agnar$ ls -l
...
lrwxrwxrwwx 1 root agnar 20 7 mai 2006 web_root -> /home/srv/html/emap/
...
mcagnar2:agnar agnar$cd web_root
-bash: cd: www_emap: No such file or directory

So it appears that SL attempts to open "/home/src/html/emap/" which does not exist on my computer (it´s the path to the web root on the linux machine), rather than "/Volumes/agnar/web_root/" as it is supposed to do.

Is there a way to change/configure SLs behaviour in this regard?
Or is it a bug?

PowerPC G4, Mac OS X (10.6.2)

Posted on Jan 15, 2010 6:45 AM

Reply

There are no replies.

Problem with alias/symlink on SMB-connections

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.