LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba access help (https://www.linuxquestions.org/questions/linux-newbie-8/samba-access-help-4175492075/)

sniper8752 01-21-2014 07:19 PM

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

Code:

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?

dolphin_oracle 01-21-2014 08:25 PM

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.

sniper8752 01-21-2014 08:38 PM

They have the same username. How do I go about checking #2?

dolphin_oracle 01-21-2014 08:48 PM

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..


All times are GMT -5. The time now is 04:16 AM.