Access denied in SAMBA with symlinks

Problem:

SAMBA clients attempt to access symbolic links pointing to directories outside of the particular share, but get “Access is denied” error.

Cause:

By default SAMBA now does not allow such symbolic links for safety reasons.

Solution:

Add these two lines to your smb.conf

wide links = yes
unix extensions = no

The first one enables full symlink support, the other one disables an option conflicting with it.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s