Solved

Samba server folder access permission

Posted on 2008-10-02
6
757 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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