SMB permission please help cannot figure it out
Hi, i really need some help. Im trying now for 2 days.
I have a share on Kodibuntu yes its /mnt/sdb1. Id like ALL user read only, with all users i mean the anonymous login without the need of username password just go on the client to SMB \\192.168.1.8 and they should see the content.
And id like to have 1 user named iiidefconiii to have the write permissions but im trying several settings and i cannot get it work, im still linux newbie can someone please advice
I did chmod 755 on the folder, then i was able to write, but then also the guest user "htpc" is able to write.
Thank you
here is my smb.conf
[global]
workgroup = WORKGROUP
server string = h server (Samba, KODI)
netbios name = KODIbuntu
dns proxy = no
name resolve order = hosts wins bcast
load printers = no
show add printer wizard = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
[MediaLibrary1]
comment = MediaLibrary
guest ok = yes
read only = no
browsable = yes
write list = iiidefconiii
create mask = 755
directory mask = 755
path = /mnt/sdb1
guest account = HTPC
Last edited by IIIdefconIII; 01-27-2016 at 04:00 PM.
|