Compdigitec Labs

« | Home | »

How to enable symlink following in Samba

By admin | March 30, 2010

After a recent samba update, it appears that the Samba team has decided to set their default for the “unix extensions” to yes after an update. Unfortunately, even though this means that Unix clients will now be able to create symlinks on smbfs-mounted file system, it still means that some Unix clients who wish to access where the symlink leads instead of the symlink itself. This also includes Windows clients, who have no idea of what a symlink is, and as a result error out with a “Access is denied” message. In order to access where the symlink resides one must disable “unix extensions” in smb.conf.

Open up a text editor:

sudo nano -w /etc/samba/smb.conf

and add the line:

unix extensions = no

right after the [general] section. Save by pressing Ctrl-O and then restart samba:

sudo /etc/init.d/samba restart

Symlink following should now work properly.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 14 Comments »

14 Responses to “How to enable symlink following in Samba”

  1. dontmatta Says:
    April 8th, 2010 at 03:28

    It worked like a charm. Thanks!

  2. Inari Says:
    July 25th, 2011 at 12:03

    Thank you! just what I needed.

  3. khamlichikhalil Says:
    March 27th, 2012 at 04:45

    In my experience you have to add 3 lines 🙂

    unix extensions = no
    follow symlinks = yes
    wide links = yes

    to [global] section of smb.conf

  4. 10 อันดับ สล็อตแตกง่าย 2024 Says:
    November 8th, 2024 at 03:26

    … [Trackback]

    […] Find More on on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  5. โบท็อกราคาส่ง Says:
    November 13th, 2024 at 23:36

    … [Trackback]

    […] Here you can find 44471 more Information to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  6. escape from tarkov cheat Says:
    November 18th, 2024 at 07:33

    … [Trackback]

    […] Read More on to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  7. ทางเข้าpg Says:
    November 19th, 2024 at 05:33

    … [Trackback]

    […] Find More Info here to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  8. 入金不要ボーナス Says:
    November 27th, 2024 at 06:13

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  9. link Says:
    November 27th, 2024 at 17:02

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  10. โป๊กเกอร์ Says:
    November 27th, 2024 at 21:47

    … [Trackback]

    […] Here you can find 81906 more Information on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  11. Onion Marktplätze Says:
    December 1st, 2024 at 10:56

    … [Trackback]

    […] There you will find 48296 additional Information to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  12. ไก่ตัน Says:
    December 7th, 2024 at 02:35

    … [Trackback]

    […] Find More on on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  13. เว็บตรงสล็อต Says:
    December 15th, 2024 at 20:43

    … [Trackback]

    […] Here you will find 71080 additional Information on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  14. mkx gummies tangerine dream Says:
    December 17th, 2024 at 15:01

    … [Trackback]

    […] Read More Info here to that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

Comments