Comment on samba docker compose help ver2

BakedCatboy@lemmy.ml ⁨1⁩ ⁨week⁩ ago

I would suggest adding “UID” and “GID” environment variables to the container, and set them to the numeric values for user and group numbers that show in place of your name when you use “ls -an” inside of the “mount” folder (they will probably be the same number). I get the same error as you when I copy your docker-compose and try to access a folder owned by my user. When I add the UID and GID of my user id to the docker-compose (1007 for me), the error goes away.

source
Sort:hotnewtop