Tomasz Chmielewski
2006-Feb-22 16:54 UTC
[Samba] How to make a symlink appear as a real file (for a Linux client)?
I have a share with a couple of symlinked files in it. On a Samba server, it looks like this for "addon" directory: # ls -l (...) acrobatreader7 (...) addon -> /home/samba/unattended-write/packages Now, if I mount it on a Linux client using smbmount, symlinks point to non existing directories locally (/home/samba/unattended-write/packages exist only on a Samba server): # smbmount //192.168.111.172/unattended /mnt/1 # ls -l /mnt/1 (...) acrobatreader7/ (...) addon -> /home/samba/unattended-write/packages On a Windows client, however, I can browse the files in such directories just fine. I would rather expect that to happen on a Linux client, too (i.e., Linux client should not see it as symlinks, but as real files/directories). Where can I look for a solution? I didn't find anything about it in smbmount nor in smb.conf manuals. -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org
Nick S. Grechukh
2006-Feb-22 17:20 UTC
[Samba] How to make a symlink appear as a real file (for a Linux client)?
? ????????? ?? 22 ??????? 2006 18:53 Tomasz Chmielewski ???????(a): maybe you should put unix extensions = no into smb.conf -- With best regards, Nick S. Grechukh System Administrator Technopark Corp. E-mail: gns@tpway.com Cell: +38 0676 13 76 07 JID: n.grechukh@jabber.tpway.com
Tomasz Chmielewski
2006-Feb-23 08:19 UTC
[Samba] How to make a symlink appear as a real file (for a Linux client)?
Kurt Weiss wrote:> follow symlinks = yes??? > linux realizes a symlink, maybe you want to use a hardlink?By default it's yes, and allows Windows clients to see a symlink as a real file/dir (Linux cifs will see it as a symlink pointing locally). When it's set to no, both Windows client and Linux client (using cifs) will get an error when trying to access symlinked file/dir. -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org
Tomasz Chmielewski
2006-Feb-23 09:05 UTC
[Samba] How to make a symlink appear as a real file (for a Linux client)?
Nick S. Grechukh wrote:> ? ????????? ?? 22 ??????? 2006 18:53 Tomasz Chmielewski ???????(a): > maybe you should put > unix extensions = no > into smb.confYeah that was it, thanks! -- Tomasz Chmielewski Software deployment with Samba http://wpkg.org