I have a folder in /var/www/html/
that people upload files to via PHP called store
.
store
has the permissions rwxrwxr--
it is owned by the user josh
and the www-data
group.
The store
folder is also an SMB share and works if I use josh
to login to it. However I need everyone to be able to access it but without write permissions as well.
This is what I have tried in my samba config:
[propellor]
path = /var/www/html/store
browsable = yes
guest ok = yes
read only = yes
write list = josh
create mask = 755
Mapping a network drive in Windows allows me to read and write if I use josh
credentials but will not let me open the share at all if I am a guest or use another (Windows) user account.
I am missing something in my settings or permissions surly.
Thanks!