Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-12-2010, 06:06 PM   #1
LQ Newbie
Registered: Feb 2008
Location: Amsterdam
Distribution: OpenSuse 10.3
Posts: 16

Rep: Reputation: 0
SAMBA client wont follow sym links..

Hi all,

"Something happened" to my samba install, and it was working fine, and is still largely working fine, except I cant browse via syn links created with:

[code]user@server~/medialist>ln -s /media/disk1/films/ films[code]

This used to work fine, and i cant figure out what happened...

I rebooted, (after umount -a, then commenting out the connected usb drives from fstab and turning them off...reboot...turn on drives one by one, uncomment from fstab, mount -a...its a bit of a drag rebooting! Quite a few updates happened (openSuse11.2)...

I can still browse all the samba shares directly but I cant follow a symlink anymore ("you do not have permisssion to view this file") from the same windows client to any of them if they are linked as above.

I have searched What am I doing wrong?

Thanks in advance,
Old 04-14-2010, 04:46 AM   #2
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,293

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335

I had the same problem. An update changed this. From /usr/share/doc/samba/changelog.Debian.gz

samba (3.0.28a-1ubuntu4.11) hardy-security; urgency=low

* SECURITY UPDATE: arbitrary file disclosure via wide links
- debian/patches/security-CVE-2010-0926.patch: disable wide links when
UNIX extensions are enabled in source/param/loadparm.c,
source/smbd/service.c, source/smbd/trans2.c, source/smbd/vfs.c,
docs/htmldocs/manpages/smb.conf.5.html, docs/manpages/smb.conf.5.
- CVE-2010-0926
* WARNING: This changes the default samba behaviour. For security
reasons, it is no longer possible to use wide links and UNIX
extensions at the same time. After applying this security update, wide
links will be disabled automatically as UNIX extensions are turned on
by default. If wide links are required, you may re-enable them by
adding "unix extensions = no" to the [global] section of
the /etc/samba/smb.conf configuration file.
1 members found this post helpful.
Old 04-14-2010, 04:45 PM   #3
LQ Newbie
Registered: Feb 2008
Location: Amsterdam
Distribution: OpenSuse 10.3
Posts: 16

Original Poster
Rep: Reputation: 0

Thanks a lot, I had read about that and added "unix extensions = no" but I also had to add "follow wide links = yes" to the [global] section of /etc/samba/smb.conf, but your post pointed me in the right direction.

I rebooted Samba, i.e as root:
/etc/init.d/smb restart
/etc/init.d/nmb restart
And browsed to my directory

It says in the man page that "follow wide links = yes" is the default behaviour, but apparently not on my box. :S

Thanks again


follow, links, samba, smbconf, symlinks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sym links and permissions emme0032 Linux - Newbie 2 11-18-2006 02:26 AM
mounting samba shares with sym links kb_ganesh Linux - General 1 11-11-2005 10:11 AM
Sym links and hard links akudewan Linux - Newbie 4 02-09-2005 05:08 AM
sym links -- RealPlayer lmellen Linux - Newbie 2 08-29-2004 02:29 PM
dead sym links dewcansam Linux - General 1 02-08-2002 04:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration