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 01-21-2014, 08:19 PM   #1
Registered: Oct 2012
Posts: 354

Rep: Reputation: Disabled
samba access help

I am trying to allow certain users to a certain share on the HD. I have the following:

browsable = yes
read only = no
writeable = yes
guest ok = no
create mask = 0755
valid users = me
When I go to create a new doc/folder, or modify something, it tells me that I do not have the proper permissions. and I did log in as that specified user. What must I do so I am able to have the proper access?
Old 01-21-2014, 09:25 PM   #2
Registered: Dec 2013
Posts: 344

Rep: Reputation: Disabled
a couple of points that I've stumbled with in the past...

1. you need a Linux user of the same user name as your samba user (well, its easier this way anyhow...)

2. The linux user also needs to have read/write permissions to the folder.
Old 01-21-2014, 09:38 PM   #3
Registered: Oct 2012
Posts: 354

Original Poster
Rep: Reputation: Disabled
They have the same username. How do I go about checking #2?
Old 01-21-2014, 09:48 PM   #4
Registered: Dec 2013
Posts: 344

Rep: Reputation: Disabled
I typically make a group (say called users) that I make all samba/linux users a part of, then I give the group permissions for the common folder.

You can check permissions in my file managers by looking in the folder properties. You can do it from the cli too, but its so easy from the file managers, usually.

if you are root or the owner of the folder, you should be able to change the permissions as well.

I believe the appropriate cli tools are chown and chgrp for changing folder owners and folder groups, and chmod for permissions, although I'm not a big user of the cli tools, so I could be wrong..


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
Unable to see shares on samba server - no authentication access desired (open access) neoelf Linux - Networking 1 06-14-2009 04:18 PM
can not access samba shares from a VIRTUAL samba server using smb4k nass Fedora 0 12-13-2008 05:39 AM
Access denied when attempting access samba share warlockvix Linux - Software 1 05-11-2007 03:36 PM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 06:33 AM
Samba: What group/user is used by Samba to access directories? DJ_Cyberdance Linux - Networking 3 10-04-2003 05:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 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