Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-08-2013, 11:29 AM   #1
LQ Newbie
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Cool Samba User Permissions

Greetings everyone,

Here is my issue. I have a Samba server setup on Ubuntu 13.04. I have my smb.conf setup to allow anyone and everyone accessing it read/write permissions. Problem is, my 11 year old boy is taking an interest into music and I want to be able to allow him read only permissions to my music share (same share that is shared with everyone on my network without user authentication). This was the simplest way I could get my file server up and running and it runs perfectly.
comment = Ubuntu File Server Share
path = /samba/data
browsable = yes
guest ok = yes
read only = no
create mask = 777

How can I make it so that his machine/user only has read access to /samba/data/MichaelPC/music ??
I have tried several ideas but none has proven successful. Any help would be appreciated!
Old 06-09-2013, 03:54 PM   #2
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48

Try 'read list' parameter and specify there your qurious boy : ) Though I'm not sure how this option will behave with the share which is world-witeable.
Old 06-09-2013, 08:01 PM   #3
LQ Newbie
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled

Thanks for that link it was quite helpful. Unfortunately, I couldn't integrate that parameter into my existing setup. So, I thought about a different one, but not sure how to go about this. Is it possible to have two entries pointing to the same share but one user with read only and the other write privileges? example:

comment = Ubuntu File Server
path = /samba/data
valid users = administrator
public = no
writable = yes

and then have another below -

comment = Ubuntu File Server
path = /samba/data
valid users = gavin
public = no
writable = no


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
User permissions - FTP - Samba stascrash Linux - General 3 05-16-2010 07:24 AM
permissions on samba change on specific user actions javeree Linux - Server 1 03-01-2007 04:43 AM
Samba User / Group Access Permissions Different Between Linux and Win jeyroz Linux - Software 8 01-29-2006 12:26 PM
how to setup folder permissions for guest user with samba? wza Linux - Networking 0 07-08-2004 10:26 AM
User permissions for Supermount and Samba Cyrus XIII Linux - Newbie 0 04-17-2004 10:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration