Hi, I’ve tried running samba from docker compose on ubuntu server with this resource https://hub.docker.com/r/dockurr/samba I changed the default volume from “- ./samba:/storage” to “- /mnt/my_ext_hdd/my_dir/my_subdir” The container deploys fine, but I get permission error when trying to access the shared volume from windows? Anyone with some suggestionshoew to fix? Thanks

  • Carlos Francisco 🦣@lile.cl
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 days ago

    The easy way, but not the most secure: identify GID and UID of files created by your samba docker container with “ls -la”. Then assign ownership of files and directories of shared volume to that user/group "chown -R GID:UID /path/to/shared”

    @basic_user @selfhosted