31
submitted 5 days ago by skizzles@lemmy.world to c/linux@lemmy.ml

I'm trying, and struggling a little bit with getting the three items in the title setup the way that I want.

Running Arch.

I would like to run Radarr, Sonarr and SABnzbd all under the same user/group. My reasoning is that I (am just being overly particular) want any of the files created by those services to fall under the same owner/group. This is easy enough to accomplish by running systemctl edit service.service and adding the appropriate lines in the configuration for each one and saving it so the services run using the specified user/group.

The issue that I'm having is that the correlating folders in /var/lib/ have the ownership of the original users. I can manually change that ownership to the user/group I want but if I reboot the computer the SABnzbd folder ownership reverts back to default (the other two were doing the same thing but suddenly stopped and I'm not 100% sure why) or if the services get updated, the folders will also revert back to their default user/group.

Is there a way for me to enforce the ownership of those folders to the user/group that I have set to run the services regardless of them getting updated or the machine rebooting?

you are viewing a single comment's thread
view the rest of the comments
[-] skizzles@lemmy.world 2 points 5 days ago

I'm still working on learning about containers but not quite there yet.

Default being, when each service is installed it creates an individual user/group (sonarr, radarr, sabnzbd) and the folder that is created in /var/lib/ for each service is set to those particular users/groups.

At this time, sonarr and radarr seem to be ok (I will need to double check after an update to them) but SABnzbd reverts the folder permissions every time I reboot and complains whenever I reboot since it can't write to the db or log files because the permissions change. I have looked at the config but didn't see anything outstanding that would indicate a reason it would be changing. Unless I am missing a different config file somewhere outside of that folder. There aren't any settings from within the web interface pointing to that either, at least from what I could see.

this post was submitted on 27 Mar 2025
31 points (97.0% liked)

Linux

52674 readers
838 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS