Closed tonyhardcode closed 3 weeks ago
For the files being created by a certain user, pass the --user $UID:$GID
flag to docker.
In order to find the correct UID-GID run these commands:
# UID
id -u your-user
# GID
id -g your user
then
docker run -d --name ... --user UID:GID
Regarding the umask, this variable is up to yt-dlp itself. It could be added to the backend, i'll work on this.
For docker compose you can use the service-level element user:
services:
ytdlp-ui:
user: $UID:$GID
image: ...
Is it possible to add these arguments to the container so downloaded files can be created under the user, group and umask specified? Would help with permission issues on the host.