Comment on Help with SMB mount - can read/delete but not write

just_another_person@lemmy.world ⁨3⁩ ⁨weeks⁩ ago

Two things:

  1. This is the most inefficient way of sharing files between containers. Use the same volume mount between containers if you just want both to have access to the same files
  2. In order for SMB to work properly, and not cause file access violations, you need to have unique users for auth that map to a UID on the filesystem. If the files and folders you’re mounting are owned by root with uid=0, and SMB maps to another user you’ve created with uid=1000, then your SMB user won’t be able to read or write anything.

It may be easier to explain exactly what you’re trying to achieve here so someone can offer a better way of setting this up for you.

source
Sort:hotnewtop