linuxserver / docker-pyload

GNU General Public License v3.0
26 stars 10 forks source link

Permission denied #8

Closed yan059 closed 4 years ago

yan059 commented 4 years ago

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.

Dear Sir,

Permission denied when the plugin updatemanager is running

Expected Behavior

the script update manager will update/delete old hoster & account without issues

Current Behavior

the script update manager is blocking on delete account & hoster GettwentyFourOrg.py the only way is to rm the two files with docker exec -ti pyload bash, but the issues come back when the container will be updated.

Environment

OS: Debian10 CPU architecture:** x86_64

Command used to create docker container (run/create/compose/screenshot)

docker compose

Capture d’écran 2020-03-21 à 20 36 48

Docker logs

Capture d’écran 2020-03-21 à 20 39 00
yan059 commented 4 years ago

HI,

any update ? i'm only the one to have this issue?

Thanks

r2ixuz commented 4 years ago

Can confirm this issue.

ciprian90 commented 4 years ago

Can also confirm

XVicarious commented 4 years ago

The files are owned by root, but the app is being run by user "abc" which is whatever you use for PUID/GID.

yan059 commented 4 years ago

Ok But why the issue is only for this account and hooker ...

Envoyé de mon iPhone

Le 20 mai 2020 à 19:56, Brian Maurer notifications@github.com a écrit :

 The files are owned by root, but the app is being run by user "abc" which is whatever you use for PUID/GID.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ryester19 commented 4 years ago

Issue is still present

j0nnymoe commented 4 years ago

Would be nice if users that are experiencing this issue could provide more information other than just saying it's still an issue.

aptalca commented 4 years ago

Can someone test this for me? run this on host: docker exec -it pyload chown -R abc:abc /app/pyload and then try the updater and see if it works?

ryester19 commented 4 years ago

Would be nice if users that are experiencing this issue could provide more information other than just saying it's still an issue.

If there was any new information, I would have provided it. But it's literally the same error messages as OP even after all these months

Can someone test this for me? run this on host: docker exec -it pyload chown -R abc:abc /app/pyload and then try the updater and see if it works?

Yup, that works. When a plugin is blacklisted, UpdateManager wants to delete from /app/pyload/module/plugins/, which obviously can't because everything in there is owned by root:root. For everything else, UpdateManager works in /config/userplugins/