Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Networking and servers • Re: Samba Guidance

$
0
0
  1. DItch the bind mounts, you don't need them for Samba.
  2. 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.
  3. "read only = no" and "writeable = yes" mean the same thing so one of them in a share definition is enough.
  4. "public = yes" is pointless. Its purpose is to allow guest/anonymous logins but you have not enabled those in your global section.
  5. "available = yes" is the default so can be omitted.
  6. 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.
  7. 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



Viewing all articles
Browse latest Browse all 8013

Trending Articles