31
Radarr, Sonarr, SABnzbd and Permissions
(lemmy.world)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
That is not normal. I have much the same setup, sabnzbd, Plex, jellyfin, sonar, radar. They all run under a particular user and their /opt and /var/lib folders don't 'revert' to their old ownership and permissions.
Either something is watching those folders and setting permissions, or some kind of immutability is in play, but permissions normally don't revert like that.
Interesting, was there anything in particular that you did with the services other than editing the service to run as those particular users?
Side note, I just tried to chown the sabnzbd folder and everything inside updated but the main folder itself refuses to change. Even after stopping the service.
Edit: scratch that. I closed and re-opened Dolphin and checked the properties of the folder and now it's showing correctly.
I just vi the systemd/system/fancyname.service files father than use systemd edit, but I think the result is the same.
There are two configs you can add to the [service] directive:
user=someuser
This should allow you to run the service under the credentials of your choosing.
Remember to systemctl daemon-reload after making changes to unit files.
Ok, yeah.
Fell asleep last night sorry.
I did the following for that. I just went and double checked it and it is set to what I want it to.
Ok, I'm not entirely sure what happened but it's working now. Just restarted my computer and it didn't revert.
Strange.
Good stuff!