LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2007, 11:16 AM   #1
min2
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Samba smb.conf Question


Hello, is it possible to have samba setup with share security and have the contents public/read-only but have a user that can map to this share from a windows box with full read/write privledges? I am fairly new to samba,so could you please include detailed samples?

Thanks,
min2
 
Old 08-28-2007, 06:13 AM   #2
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 598

Rep: Reputation: 30
yes... you can do it.
path = /home/user
; public = yes
; read only = yes
; write list = @user(user=group).
so if you are having a user with name min2, add these lines in Share Definitions of smb.conf
[min2]
path = /home/min2
public = yes
read only = yes
write list = @min2(remember, min2 is a group, so min2 user must be the only user belongs to min2 group).
 
  


Reply



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
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 09:43 AM
Samba + smb.conf help. jwholey Linux - Software 1 07-05-2006 11:25 PM
Reinstalling Samba doesn't recover the original /etc/samba/smb.conf Akhran Debian 2 11-11-2005 12:54 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
/etc/samba/smb.conf tsitras Linux - Newbie 2 04-09-2004 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration