Solved

Samba server folder access permission

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

22 Experts available now in Live!

Get 1:1 Help Now