I want to share home folder as read-only with everyone while making its temp sub-folder writable. I tried:
[Home]
path = /home/bamw
browsable =yes
writable = no
guest ok = yes
read only = yes
force user = bamw
[Temp]
path = /home/bamw/temp
browsable =yes
writable = yes
guest ok = yes
read only = no
force user = bamw
But it looks like read-only permissions of /home/bamw override writable access to temp. What's the correct way to do it without creating dedicated Samba users?
ls -ld / /home /home/bamw /home/bamw/tempplease. (In your question.)