Solved

Samba server folder access permission

Posted on 2008-10-02
6
755 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Problem: Windows 32bit running out of paging space. Solution: Add additional page files on separate partitions. Background: By default Windows creates only one page file on the partition you install Windows on. You may know that the maximu…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 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