Install muse-hub.service as a local user and not as root

• Jun 28, 2023 - 06:06

In windows, there's BITS - background intelligent transfer service, which apps can offload transfer to. And this is probably what muse-hub uses on windows. But on linux, installing a service that does background transfer as part of an app is not a good thing, especially if it isn't a system critical application and is running as root.

Here are a few options,
1. Alter the service unit file to run as a local user. Then the service will run as a localuser.
2. Run the service as part of systemctl --user . This way the service only starts for this particular user.
3. Install files into the .local directory. This way you don't have to install into the /opt directory. Most linux desktop machines are single user anyway
4. Use appimage and sandbox the app to only write to .local

This will help greatly.
~


Comments

For linux users, if you unpack the deb package, you can install muse-hub as a local user service. At least that reduces the risk somewhat. I just want to point out again, that running a torrent client as root is not a good idea, which is what muse-hub seems to be doing.

Do you still have an unanswered question? Please log in first to post your question.