Results 1 to 4 of 4

Thread: Samba Permissions

  1. #1
    Join Date
    Oct 2012
    Beans
    1

    Samba Permissions

    I go to Seaside High School and in my computer repair class we are trying set up a ubuntu server. It is accessible to everybody plugged into the network but we want to make it so that everybody has permissions, so one person can save something to the folder and nobody else could access that but the creator and the administrator.

  2. #2
    Join Date
    Mar 2011
    Beans
    52
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Samba Permissions

    you have to make some changes in your smb.conf file. suppose if you want to create a share named "Home" with read write access to user account administrator and paul add this line under your share definition "Home"
    Code:
    write list = administrator, pual
    for read only access add this line under the same share.
    Code:
    read list = john, jack

  3. #3
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Samba Permissions

    Quote Originally Posted by cybercity@localhost View Post
    you have to make some changes in your smb.conf file. suppose if you want to create a share named "Home" with read write access to user account administrator and paul add this line under your share definition "Home"
    Code:
    write list = administrator, pual
    for read only access add this line under the same share.
    Code:
    read list = john, jack
    There already is a [homes] directory defined in the smb.conf file. You just have to uncomment it. It is only defined once. All Samba users are provided there own home directory on the Samba host server. The root user always has access via sudo in Ubuntu.

    See Code Listing 1.4: Sharing multiple homes in this documentation.
    -BAB1

  4. #4
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Samba Permissions

    Quote Originally Posted by StrutServer View Post
    I go to Seaside High School and in my computer repair class we are trying set up a ubuntu server. It is accessible to everybody plugged into the network but we want to make it so that everybody has permissions, so one person can save something to the folder and nobody else could access that but the creator and the administrator.
    Use the [homes] share for this. See the previous post.
    -BAB1

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
  •