[Samba] Troubles with Permissions
Steven Vishoot
stevenvishoot at gmail.com
Fri Apr 28 04:07:23 UTC 2023
Ok, I am pulling my hair out now. I have five shared directories, four of
them I cannot write to them through samba share and the fifth I can. Image
share is the only one I can write to and that is the original shared
directory. The others were added later and I can't write to them with
permission denied error. The original was added when samba.swat was still
around and the others were just appended later on. I can write to the
directories with the user on linux but not through samba. What am I
missing? or doing wrong?
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
host allow = 192.168.1, 127.
load printers = yes
cups options = raw
printing = cups
workgroup = SAMBA
create mask = 0664
printcap name = cups
encrypt passwords = yes
dirctory mask = 0777
security = user
passdb backend = tdbsam
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
[image]
comment = All movies
writeable = yes
user = @svishoot
path = /images-movies
[shared]
comment = Shared Directory
writeable = yes
valid users = @svishoot,,steven
user = @svishoot
path = /shared
directory mode = 775
[music]
comment = Music Directory
path = /music
user = @svishoot
writeable = yes
read only = no
[picture]
comment = Picture Directory
path = /picture
user = @svishoot
writeable = yes
read only = no
[quicken]
comment = Quicken Directory
path = /quicken
user = @svishoot, at steven
writeable = yes
read only = no
Regards,
Steven Vishoot
More information about the samba
mailing list