Some basic help needed by NZBGet Newbie
Posted: 03 May 2019, 16:40
Hello,
i have to admit that i am pretty new to NZBGet and also linux, which, in combination, can be a pretty frustrating task to handle.
My installation of NZBGet running on Ubuntu 18.04 is doing pretty well so i tried to work on a first script to post-process some stuff after NZBGet has finished working on it.
First Question: NZBGet process shows that it is run by 'root'. Should this be changed? If so, how would i do this? I've managed to install an autostart service for NZBGet right now.
Second Question: All files and directories show that the belong to user and group 'root', although this is not the user i am using on a daily basis. However, i would have assumed that scripts ran by NZBGet would also be executed under user 'root' but this doesn't seem to be the case as NZBGet seems unable to access / create files which are referenced within the script.
Also, when checking the scripts directory, there are two example scripts which show "1001" as the user and group id. When i try to identify the user and group associated with id 1001, by 'id 1001' i get an error message telling me that no such user exists.
So maybe someone is willing to clarify things for me here a little bit.
i have to admit that i am pretty new to NZBGet and also linux, which, in combination, can be a pretty frustrating task to handle.
My installation of NZBGet running on Ubuntu 18.04 is doing pretty well so i tried to work on a first script to post-process some stuff after NZBGet has finished working on it.
First Question: NZBGet process shows that it is run by 'root'. Should this be changed? If so, how would i do this? I've managed to install an autostart service for NZBGet right now.
Second Question: All files and directories show that the belong to user and group 'root', although this is not the user i am using on a daily basis. However, i would have assumed that scripts ran by NZBGet would also be executed under user 'root' but this doesn't seem to be the case as NZBGet seems unable to access / create files which are referenced within the script.
Also, when checking the scripts directory, there are two example scripts which show "1001" as the user and group id. When i try to identify the user and group associated with id 1001, by 'id 1001' i get an error message telling me that no such user exists.
So maybe someone is willing to clarify things for me here a little bit.