[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mount doesn't follow symbolik links on SAMBA, but Nautilus does



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a problem with a Samba share at work. The share has some symbolic
links to directories that are not shared.

If I mount the share via 'mount -t smbfs', these links don't work. If I
access this same share via Nautilus with 'smb://...', I can follow all
links without a problem.

Here's an example of what happens:

Server SAMBA has a share called SHARE for the /DIR directory
(smb://SAMBA/SHARE points to /DIR).

Inside /DIR, there's /DIR/LINK -> /home/user/somedir

If I mount SHARE via mount/fstab and ls -l it, I still get:
/DIR/LINK -> /home/user/somedir

This link's destination doesn't exist in my system, and thus the link is
invalid. Even if it existed, it wouldn't be what I was lookig for.

If I mount smb://SAMBA/SHARE in Nautilus and follow LINK, it redirects
me to /home/user/somedir on the server automagically.

What's the magic that Nautilus does? Can I do it via mount / fstab ?

Cheers,
Cassiano Leal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVwHIq4Bz51JiUuERAqOYAKDoGei8zasPHsSAn95jv94I3nmFgACfT0BB
XJaO5PeYvcdidlf9xbW/raw=
=mOo9
-----END PGP SIGNATURE-----



Reply to: