Quote:
Originally Posted by lhorace
I have a /Shares folder and I have php_workspace folder which its contents contains php files. I don't want to directly put php_workspace into /Shares folder but instead ln -s /php_workspace php_workspace within the /Shares folder. However when I mount the share with mount -t cifs to /mnt/Shares and cd into /mnt/Shares and run ls, the sym links points to non existent target on the client comp. I wonder if it's possibility to tell mount not to map sym links to local FS instead to the remote FS?
|
Let me get this straight:
- php_workspace is a local directory.
- you want to create a symbolic link between /mnt/Shares and php_workspace, i.e. make php_workspace available on /mnt/Shares.
- You're running in to trouble because you create the symlink in /mnt/Shares, then mount the remote file system on top of /mnt/Shares.
If my summary is correct, you will want to mount the directory first, then create the symbolic link.