LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2009, 04:33 PM   #1
thetotzky04
LQ Newbie
 
Registered: Apr 2009
Location: Phillipines
Distribution: Mandriva GNOME 2.22.0
Posts: 19

Rep: Reputation: 1
Unhappy please correct my samba config


please correct my samba config

I have two folders inside MAIN FOLDER (ex. folderA & folderB)
it should be: only "@group1" have the FULL ACCESS in folderA & B
then the "user3" are read-only access




[MAIN FOLDER]
path = /usr/etc/MAIN/
valid users = @group1 (user1&user2)
inherit permissions = yes
comment = none
browseable = yes
public = yes
writable = yes
create mask = 777
directory mask = 777
[MAIN FOLDER]
path = /usr/etc/MAIN/
valid users = user3
inherit permissions = yes
comment = none
browseable = yes
public = yes
writable = yes
create mask = 777
directory mask = 777
 
Old 04-25-2009, 10:17 AM   #2
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
You want to use a combination of "write list" and "valid users", something like this:

Code:
[MAIN FOLDER]
valid users = user1,user2,user3
write list = user1,user2
#  Other stuff
Having two "MAIN FOLDER" sections like you have is not good. Waste of space at the very least.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I correct faulty graphics config Woozle Ubuntu 4 11-14-2008 11:00 AM
Apache(everything works ????????????Correct config bunty82 Linux - Server 1 07-24-2008 04:20 PM
correct config of Hosts file ankycooper Red Hat 1 06-15-2006 02:07 AM
Is my Exim4 config file correct?... need help. ExCIA Debian 9 05-09-2005 03:58 PM
Mandrake won't config. correct Darkangel90 Linux - Newbie 3 06-04-2002 07:21 AM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration