PDA

View Full Version : [SOLVED] Symbolic Links deny permission in Samba share.



Jonny87
October 19th, 2010, 09:49 AM
I have a Samba share that contains a symbolic link and when I try accessing it from the WinXP machine it denies permission. If I access it from the Linux account, it goes in with no problems. Is there a certain setting that needs to be set or enabled or is this just one of those things with Samba?

Morbius1
October 19th, 2010, 12:33 PM
Samba has changed the ability to follow symlinks because of a security issue: http://www.samba.org/samba/news/symlink_attack.html

To circumvent the change you could try this:

Add the following lines to the [global] section of smb.conf:

follow symlinks = yes
wide links = yes
unix extensions = no
Then restart the samba service:

sudo service smbd restart

Jonny87
October 19th, 2010, 07:37 PM
Samba has changed the ability to follow symlinks because of a security issue: http://www.samba.org/samba/news/symlink_attack.html

To circumvent the change you could try this:

Add the following lines to the [global] section of smb.conf:

follow symlinks = yes
wide links = yes
unix extensions = no
Then restart the samba service:

sudo service smbd restart

Ok thanks I'll give it a go.

jeremycobert
February 3rd, 2011, 02:01 AM
follow symlinks = yes
wide links = yes
unix extensions = no

that fixed the same issue for me , thanks !

Jonny87
February 3rd, 2011, 07:19 AM
Sorry kinda forgot to get back to this thread. It also worked for me thanks.

I'll mark this as solved.

alhaines
September 5th, 2011, 12:39 PM
Thanks! Worked for me.:P