Do not share anything in a users home directory. Nowadays a users home directory gets 0700 permissions, that is, the user gets full control of their home directory and no other person can enter it.Thanks, I understand.
If you want a guest share, then you need to give 'others' 'rwx' permissions on it, you really do not want to do this on any users home directory, in fact I would never recommend sharing anything from a users home directory.
A guest share works by Samba mapping unknown users to the guest user (usually the user 'nobody') and then the directory permissions decide just what access is allowed, 'rwx' for full access, 'r-x' for read only access, Samba cannot override the Unix permissions.
I have deleted the /home/pi share and created a new directory and Samba share (/home/pi/test) and given that 777 permissions, the the same, I can't log on to that from my desktop.
Statistics: Posted by hortimech — Mon Nov 24, 2025 9:23 am