Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] permission of svc-flexget #16

Closed
1 task done
terrytw opened this issue Sep 22, 2024 · 1 comment · Fixed by #17
Closed
1 task done

[BUG] permission of svc-flexget #16

terrytw opened this issue Sep 22, 2024 · 1 comment · Fixed by #17
Assignees
Labels
bug Something isn't working

Comments

@terrytw
Copy link

terrytw commented Sep 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The directory svc-flexget belongs to root user and group, and flexget is run by user abc with whatever uid and gid the user specifies using env.

Some of the plugins of flexget will try to write temporary files to $cwd which is svc-flexget, and it sounds reasonable to me, but they obviously lack the permission to do so, resulting in errors.

I wonder, if it is possible to set the owner and group of svc-flexget to be abc instead of root?

Expected Behavior

No response

Steps To Reproduce

Run docker-flexget, use plugins like flexget_qbittorrent_mod

Environment

- OS: Synology
- How docker service was installed: Synology store

CPU architecture

x86-64

Docker creation

docker run -d \
  --name flexget \
  --hostname flexget \
  -e FG_WEBUI_PASSWORD=sadgdgsF42365632rAyag8qdq \
  -e FG_LOG_LEVEL=info \
  -e FG_LOG_FILE=/config/log/flexget.log \
  -e FG_CONFIG_FILE=/config/config.yml \
  -e PUID=1026 \
  -e PGID=101 \
  -v *****:/data \
  -v *****:/config \
  ghcr.io/linuxserver/flexget

Container logs

Everything normal except permission denied for the creation of a temporary file in svc-flexget.
@thespad
Copy link
Member

thespad commented Sep 22, 2024

No, it's not possible to change the folder ownership, but there shouldn't be any issue with changing the working directory. I'll take a look at it.

@thespad thespad self-assigned this Sep 22, 2024
@thespad thespad added the bug Something isn't working label Sep 22, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants