You are not logged in.
Hello,
after having troubles starting up pyLoad, I am now having some troubles with permissions while running it.
The issue occured for the first time when I tried to change the config path.
Do you want to change the config path? Current is /home/archie/.pyload
If you use pyLoad on a server or the home partition lives on an internal flash it may be a good idea to change it.
Change config path? (y/[n]): y
Setting new configpath, current configuration will not be transfered!
Configpath [/home/archie/.pyload]: /home/archie/.config/pyload
Setting config path failed: [Errno 13] Permission denied: '/opt/pyload/module/config/configdir'
I then proceeded with the default config path.
But starting up pyLoad also gave me permission errors.
23.11.2020 11:06:33 INFO ADDON UpdateManager: pyLoad is up to date!
23.11.2020 11:06:34 WARNING ADDON UpdateManager: Error removing `/opt/pyload/module/plugins/accounts/GetTwentyFourOrg.py` | [Errno 13] Permission denied: '/opt/pyload/module/plugins/accounts/GetTwentyFourOrg.py'
23.11.2020 11:06:34 WARNING ADDON UpdateManager: Error removing `/opt/pyload/module/plugins/hoster/GetTwentyFourOrg.py` | [Errno 13] Permission denied: '/opt/pyload/module/plugins/hoster/GetTwentyFourOrg.py'
I found this issue on GitHub: https://github.com/pyload/pyload/issues/2517
So I first tried changing permissions of "/opt/pyload" with "sudo chown -R pyload:pyload /opt/pyload". --> Which didn't work.
I then tried it with "sudo chown -R archie:users /opt/pyload" --> I am now no longer having the permission issues.
But is it the okay to run pyLoad as "archie:users"? Shouldn't it run as "pyload:pyload"?
(archie is just an alias for my username)
this is how I installed pyload
1. mkdir git && cd git
2. git clone https://aur.archlinux.org/pyload-git.git && cd pyload-git
3. makepkg -sirc
4. pyLoadCore -s
Last edited by TheHellSite (2020-12-21 23:07:04)
Offline
pyLoadCore -s
Was that run as the pyload user? Have you tried using pyload.service which may fail after the chown to archie:users.
Offline
No, I ran it as user archie... I know I would have to run it as user pyload, but wouldn't this "damage" file permissions on the downloaded files?
This is why I am asking if it is okay to run it as user archie.
Offline
Could you explain what you mean by damage file permissions on downloaded files?
If you want to be able to move / remove downloaded files I would suggest adding user archie to the pyload group.
Offline
That is exactly what I meant with it.
I am just running it as user archie now.
If there are any critical reasons not to do it, feel free to tell and explain them to me.
Offline