[Samba] Write permissions on share for music files
Andy Tomlin
atomlin at yahoo.com
Mon Jul 18 23:12:15 GMT 2005
I am running Fedora Core4 with Samba 3.0.14a-2 SELinux
and firewall.
Home directories are working fine from windows2000
machine but I am struggling with access permissions on
an intended public folder(Music). I really want
everyone to have read/write access to the directory
and all subdirectories but cannot get it to work. I
have tried various permissions on the directory itself
including setting userid and group both to atomlin,
0777, sticky on and off. In my smb.conf file (see
below) I have tried various options none of which
worked. The directory itself was originally created by
root. I have verified that when logged in to the linux
box as atomlin I can create and delete directories so
linux filesystem permissions seem ok, I just cannot do
it through samba. I am sure I am just doing something
stupid, and if someone can point it out I can get my
music box up and running (slimserver with squeezebox2)
eg
[Music-example1]
path = /usr/Music
writeable = yes
guest ok = yes
comment = Flac music files
browseable = yes
[Music-example2]
path = /usr/Music
writeable = yes
guest ok = yes
public = yes
comment = Flac music files
browseable = yes
Current smb.conf-----------------
[global]
workgroup = Home
server string = Samba Server
hosts allow = 192.168. 127.
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
interfaces = eth1
domain master = yes
preferred master = yes
dns proxy = no
#============================ Share Definitions
==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
username map = /etc/samba/smbusers
[homes]
comment = Home Directories
browseable = no
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[Music]
path = /usr/Music
writeable = yes
; guest ok = yes
comment = Flac music files
browseable = yes
force user = atomlin
force group = atomlin
create mask = 0777
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the samba
mailing list