• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 766
  • Last Modified:

Samba server folder access permission

Hi guys, I'm using Samba running on Suse Linux Ent 10 for my file and authentication server. I've created a folder called test_folder. I need userA to have read/write permission and userB to have read only permission. I've edited the smb.conf file shown below

[test_folder]
inherit acls = Yes
path = /Share/Temp/
read only = Yes
admin users = UserA
read list = UserB
valid users = UserA UserB
write list = UserA

UserA can read/write without any problem. However UserB cannot even access the folder. Shown a permission error when I double click the folder from a WinXP Client
0
totallypatrick
Asked:
totallypatrick
  • 2
1 Solution
 
omarfaridCommented:
I am not sure if order is important:

[test_folder]
inherit acls = Yes
path = /Share/Temp/
read only = Yes
admin users = UserA
valid users = UserA UserB
read list = UserB
write list = UserA

what are the permissions on the  /Share/Temp dir?
0
 
totallypatrickAuthor Commented:
Permission on the /Share/Temp dir is
drwxrwxr-x root testgroup         where testgroup consist of UserA and UserB
0
 
totallypatrickAuthor Commented:
thanks.. I got it. the above samba config is correct. The unix permission is configured wrongly that's y
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now