this post was submitted on 26 Apr 2024
-71 points (11.0% liked)

Linux

48397 readers
832 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
 

I wanted to install jackett and sonarr, they are complicated to use as is, moreover I am using Ubuntu. I am following fuidleine for installing jackett with STUPID command line making it EXTRA difficult. But now I have to change directory ownerships and what nots. I am the ONLY user on this machine. I want to own everything by default I am root I am admin I am user I am all. How do I make this happen instead of sending stupid commands all the time and making using Linux EASY. Before anyone getting on about Security I don't give 2centa about it .I just want to use and install and do whatever I wish.

How do I make this happen Forever, once inför all.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 7 months ago

Back up before you do this and read why it won’t do what you want first.

Here’s how to do what you’re asking: chown -R user /

You’ll need to be root or use sudo to do that.

Here’s why it won’t do what you want: the arr programs each have their own user and group and they expect to be able to freely modify files they are allowed to through the permission system and to be prevented from doing so for files they’re not supposed to touch through that same system. It doesn’t matter if your user has ownership of all files on the system because your username isn’t the one those programs will be operating under when they go to move something from your incoming directory to your storage drive.

You could change them to all use the same username, yours, by editing their config files, but that’s not recommended and the programs are not tested in that configuration or designed to be run that way.

Not only will operating a single user system not fix the problem you’re having, making your username the single user isn’t the right way to do it. Running in single user mode is done as the root user and it has a special run level, 1. There are five other run levels above it (not counting zero, which is when the computer is not running).

Tldr: don’t do what I just told you how to, it won’t fix your problems. Learn the permissions system and fix your permissions problems instead or use a platform for the arrs that you’re more comfortable with.