Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I've setup file server with Samba. and it working. However, there's one issue that I need to solve. Whenever, I access the share folder EVEN im not a user ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    44

    Samba File Share accessed by other users


    Hello,

    I've setup file server with Samba. and it working. However, there's one issue that I need to solve.

    Whenever, I access the share folder EVEN im not a user of that share folder, I can see the files as long as I know the folder name. How can I restrict the folder (read and write) only to users listed? Its now invisible when I add "browsable =no" but if user knows the exact share name, they can see the content, which I want to avoid.

    For example, I browse my share folder
    \\192.168.1.2\media
    and I am using user3, I can access the folder of media, even user3 is not listed on write or read list

    [media]
    path = /FS/media
    guest ok = no
    security = user
    browsable = no
    write list = user1 user2
    read list = user1 user2
    public = no
    available = yes

    Hope you can help.

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    44
    Solved.

    I replaced
    read list
    to
    valid users

    Thanks!

Posting Permissions

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