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 | 27 Comments »

27 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. https://aceplumbinco.net Says:
    February 14th, 2022 at 17:38

    … [Trackback]

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

  5. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    March 3rd, 2022 at 20:21

    … [Trackback]

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

  6. read more about it Says:
    June 17th, 2022 at 22:20

    … [Trackback]

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

  7. Buy Brand New Firearms Online Says:
    June 21st, 2022 at 08:47

    … [Trackback]

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

  8. สล็อตวอเลท Says:
    July 15th, 2022 at 04:44

    … [Trackback]

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

  9. nova88 Says:
    July 15th, 2022 at 04:55

    … [Trackback]

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

  10. สล็อตวอเลท ไม่มีขั้นต่ำ Says:
    August 16th, 2022 at 19:03

    … [Trackback]

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

  11. sbobet Says:
    September 6th, 2022 at 08:00

    … [Trackback]

    […] There you can find 47798 additional Info on that Topic: compdigitec.com/labs/2010/03/30/how-to-enable-symlink-following-in-samba/ […]

  12. home builders in celebration fl Says:
    September 30th, 2022 at 19:56

    … [Trackback]

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

  13. my website Says:
    October 8th, 2022 at 19:59

    … [Trackback]

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

  14. buy cocaine Texas USA Says:
    October 21st, 2022 at 19:22

    … [Trackback]

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

  15. mental health bergen county nj Says:
    October 29th, 2022 at 21:37

    … [Trackback]

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

  16. เงินด่วนออนไลน์ โอนเข้าบัญชี Says:
    October 30th, 2022 at 08:10

    … [Trackback]

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

  17. sbobet Says:
    November 10th, 2022 at 10:18

    … [Trackback]

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

  18. คาสิโนออนไลน์ Says:
    November 13th, 2022 at 04:31

    … [Trackback]

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

  19. 토토포켓몬 Says:
    December 22nd, 2022 at 23:55

    … [Trackback]

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

  20. useful link Says:
    January 12th, 2023 at 14:04

    … [Trackback]

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

  21. แม็กเบ็ต Says:
    February 3rd, 2023 at 19:06

    … [Trackback]

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

  22. สินเชื่อจำนองที่ดิน Says:
    February 6th, 2023 at 15:06

    … [Trackback]

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

  23. Painting Contractors Says:
    February 18th, 2023 at 04:04

    … [Trackback]

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

  24. เว็บตรง betclic88 Says:
    March 6th, 2023 at 09:29

    … [Trackback]

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

  25. weed delivery toronto Says:
    March 16th, 2023 at 07:01

    … [Trackback]

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

  26. golden teacher mushrooms grow kit, Says:
    March 23rd, 2023 at 00:45

    … [Trackback]

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

  27. ufatesla Says:
    March 28th, 2023 at 10:53

    … [Trackback]

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

Comments