Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Symbolic links in Samba Share in 10.04

  1. #1
    Join Date
    Dec 2006
    Beans
    17

    Symbolic links in Samba Share in 10.04

    Hello,

    I just upgraded to lucid.

    On my mythtv-box, I previously had a samba share which had 4 symbolic links inside of the folder. They would be available to everyone on the network.

    Since the upgrade, the links are still there and point to the right folders, but are not available over the network.

  2. #2
    Join Date
    Jul 2006
    Beans
    809
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Symbolic links in Samba Share in 10.04

    Edit /etc/samba/smb.conf and add the following two lines to your [global] section
    Code:
    follow symlinks = yes
    wide symlinks = yes
    Then run
    Code:
    sudo /etc/init.d/samba restart

  3. #3
    Join Date
    Dec 2006
    Beans
    17

    Re: Symbolic links in Samba Share in 10.04

    I get a command not found when I try to run /etc/init.d/samba.



    I did notice there is a smbd service that I can start/stop, but this does not fix the issue.



    Looking at the log:
    /var/log/samba.log.smbd

    Unknown parameter "wide symlinks"


    I changed it to just "wide links" but that did not solve the problem.
    Last edited by tacman2k; May 12th, 2010 at 02:25 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    580
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Symbolic links in Samba Share in 10.04

    Quote Originally Posted by tacman2k View Post
    I get a command not found when I try to run /etc/init.d/samba.
    That's because it should have been init.d/smbd, BUT even that isn't correct anymore. You should be restarting services with the service command:
    Code:
    sudo service smbd restart

    Do you still have your smb.conf file from your previous install? I normally just keep mine and overwrite the new default. That would be the easiest way to return your samba setup back to status quo.

  5. #5
    Join Date
    Jul 2006
    Beans
    809
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Symbolic links in Samba Share in 10.04

    Just realized they changed one more thing in Lucid.
    It is no longer
    Code:
    wide symlinks = yes
    rather it is now
    Code:
    wide links = yes
    Also, you will need one other item in the global section
    Code:
    unix extensions = no

  6. #6
    Join Date
    Aug 2005
    Beans
    48

    Re: Symbolic links in Samba Share in 10.04

    Yep, that did it. I just changed wide symlinks to wide links.

    My smb.conf now reads:
    Code:
    [global]
    
    follow symlinks = yes
    wide links = yes
    unix extensions = no
    and then ran:
    Code:
    sudo /etc/init.d/smbd restart
    Thanks a bunch!

  7. #7
    Join Date
    May 2010
    Beans
    12

    Re: Symbolic links in Samba Share in 10.04

    Very helpful thread guys. Glad I found it. I had my symbolic links working, with shares, in a snap! Thankee

  8. #8
    Join Date
    Oct 2008
    Beans
    17

    Re: Symbolic links in Samba Share in 10.04

    Perfect. I was playing with permissions for about 20 mins before I thought this could be the problem. Perhaps tag this as [SOLVED] ?

  9. #9
    Join Date
    Dec 2008
    Beans
    6

    Talking Re: Symbolic links in Samba Share in 10.04

    Just like to thank everyone for keeping this updated, worth noting that if samba gets any update which 'replaces' your smb.conf with a default you'll have to re-apply the above.

  10. #10
    Join Date
    Dec 2009
    Beans
    5
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Symbolic links in Samba Share in 10.04

    This worked for me, I googled this for like 2 hours, thanks for this post.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •