Solved: Symbolic links in Samba

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Solved: Symbolic links in Samba

Post by mister_v »

Hi,

I have setup my samba share with symbolic links to other dirs.

But since my latest update id doesn't work anymore.
I see the symbolic links, but can't open them.

Here is the code for my share in smb.conf

Code: Select all

[share]
  comment = Share
  path = /var/share
  valid users = pguest
  public = no
  writable = yes
  printable = no
Last edited by mister_v on Mon Nov 01, 2010 9:33 pm, edited 1 time in total.
Chris
Site Admin
Posts: 129
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: Symbolic links in Samba

Post by Chris »

After some searching I found the solution.

You need to add the following lines in smb.conf
under [global] (Not [share])

Code: Select all

  follow symlinks = yes
  wide links = yes
  unix extensions = no
It seams that in the latest version it has been disabled as default,
because it is considered a security risk.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: Symbolic links in Samba

Post by mister_v »

Thanks, this solved my problem.
Post Reply