- DItch the bind mounts, you don't need them for Samba.
- Change the "path =" for each share to point to the directory under /mnt/nvme02 e.g. /mnt/nvme02/Photos. Samba clients don't know or care where the share is located on the server's filesystem. They connect to a share name and the server restricts access to files and directories in and below the specified path.
- "read only = no" and "writeable = yes" mean the same thing so one of them in a share definition is enough.
- "public = yes" is pointless. Its purpose is to allow guest/anonymous logins but you have not enabled those in your global section.
- "available = yes" is the default so can be omitted.
- There's no point is redacting your usernames. I can't access your server even if it is exposed to the public internet as I don't know your password, your IP address, or your domain name.
- If you really want to persist with the bind mount strangeness try running your chmod command on the source directory not the point it has been bind mounted on. So
Code:
sudo chmod 777 /mnt/nvme02/Music
Statistics: Posted by thagrol — Sat Aug 09, 2025 3:41 pm