Solved

Samba server folder access permission

Posted on 2008-10-02
6
754 Views
Last Modified: 2013-12-05
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
Comment
Question by:totallypatrick
  • 2
6 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 22625088
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
 

Author Comment

by:totallypatrick
ID: 22629843
Permission on the /Share/Temp dir is
drwxrwxr-x root testgroup         where testgroup consist of UserA and UserB
0
 

Author Comment

by:totallypatrick
ID: 22647298
thanks.. I got it. the above samba config is correct. The unix permission is configured wrongly that's y
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now