LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Samba smb.conf Question (https://www.linuxquestions.org/questions/linux-server-73/samba-smb-conf-question-580185/)

min2 08-27-2007 11:16 AM

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

ZAMO 08-28-2007 06:13 AM

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).


All times are GMT -5. The time now is 08:54 PM.