Thursday, April 9, 2009

Create public folder on samba

My environment: Samba 3.0.28 on RH FC8

Nothing better than learn by example, let see the following 2 examples on /etc/samba/smb.conf to create a writable and read-only share

Writable share - A publicly accessible directory, but read only, except for people in software group

[software]
comment = Software Share
path = /media/disk/software
public = yes
writable = yes
printable = no
browseable = yes
write list = +software

A read-only share

[VM]
comment = VM
path = /media/disk/VM
public = yes
writable = no
printable = no
browseable = yes

No comments:

Post a Comment