[Samba] Symlinks out of sharing still not working on 3.0.5

Vandeir Eduardo vanedu at inf.furb.br
Fri Jul 30 00:28:04 GMT 2004


Hi guys,

samba client version 3.0.5, server version 3.0.5, kernel 2.4.26.

Relevant configs on server:
unix extensions = Yes
wide links = Yes
follow symlinks = Yes

On client computer with home user mounted via smbfs
I'm trying this:

D102-054 [/lp/home/dito/tmp] > cd /tmp
D102-054 [/tmp] > mkdir dest_dir
D102-054 [/tmp] > cd -
D102-054 [/lp/home/dito/tmp] > ln -s /tmp/dest_dir orig_dir
D102-054 [/lp/home/dito/tmp] > ls -la
total 524292
drwx------    1 dito     bcc             0 Jul 29 21:11 .
drwx-----x    1 dito     alunos       4096 Jul 29 21:08 ..
lrwxrwxrwx    1 dito     bcc            12 Jul 29 21:11 orig_dir -> tmp/dest_dir

Why samba is linking to "tmp/dest_dir" when should link
to "/tmp/dest_dir"? (note initial slash missing)

D102-054 [/lp/home/dito/tmp] > mkdir tmp2
D102-054 [/lp/home/dito/tmp] > mkdir dest_dir2
D102-054 [/lp/home/dito/tmp] > cd tmp2
D102-054 [/lp/home/dito/tmp/tmp2] > ln -s ../dest_dir2 orig_dir2
ln: creating symbolic link `orig_dir2' to `../dest_dir2': input/output error

Other symlinks that don't start whith ".." ou "/" works
properly. What's going on here? This is driving me crazy!

Thanks in advance.

__________________________________________
Vandeir Eduardo (CCNA, LPIC-2)
Laboratório de Computação e Informática (LCI) - Campus IV
Fundacao Universidade Regional de Blumenau (FURB)
Rua Braz Wanka, 238 - CEP: 89.035-160 - Blumenau (SC)
Blumenau, SC, Brasil.
Fone: +55 (047) 321-7819 - Fax: 321-7802



More information about the samba mailing list