Results 1 to 3 of 3

Thread: how to set up multiple share using samba?

  1. #1
    Join Date
    Mar 2008
    Location
    Sri lanka
    Beans
    764
    Distro
    Ubuntu 10.04 Lucid Lynx

    how to set up multiple share using samba?

    Hi.. I have already set up samba according to the tutorial at http://ubuntuforums.org/showthread.php?t=202605. I want to know how I can set up multiple sharing folders

  2. #2
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how to set up multiple share using samba?

    Hello, please try to refrain from making so many new samba share related threads. It's much easier for those of us trying to help you if we only have to follow one thread. For help related to the howto, it's best to simply post in the howto.

    For multiple shares, just add a new "myfiles" section to the bottom of smb.conf like so:
    Code:
    [MyFiles-one]
        path = /media/myfiles-one/
        browseable = yes
        read only = no
        guest ok = no
        create mask = 0644
        directory mask = 0755
        force user = YOUR_USERNAME
        force group = YOUR_USERGROUP
    
    [MyFiles-two]
        path = /media/myfiles-two/
        browseable = yes
        read only = no
        guest ok = no
        create mask = 0644
        directory mask = 0755
        force user = YOUR_USERNAME
        force group = YOUR_USERGROUP

  3. #3
    Join Date
    Mar 2008
    Location
    Sri lanka
    Beans
    764
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to set up multiple share using samba?

    Thanks. I will follow your advice.. sorry about all the extra threads

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
  •