I have a directory /home/localuser/share. The localuser owns and has full control over it. But it must be accessed through a samba share, as read only by user “nobody” (no password required).
I can’t figure out how to correctly set smb.conf and give the right permissions to nobody in my linux terminal.
I tried this:
smb.conf:
[Download Videos]
path = /home/localuser/share
browseable = yes
read only = yes
create mask = 0700
directory mask = 0700
guest ok = yes
Terminal:
setfacl -R -m "u:nobody:r" /home/localuser/share