this post was submitted on 05 Mar 2024
14 points (75.0% liked)

Linux

47353 readers
1345 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
 

So I've messed up by not formatting my partitions on installation and now things are buggy, dbus returns permission denied on starting is one of the prominent bugs at the moment

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 6 months ago (1 children)

I would just start over before you get any more attached to it.

[–] [email protected] 1 points 6 months ago (2 children)

Why? I chowned and chmod the mount points only (not recursively) and now the system is functioning correctly

[–] [email protected] 8 points 6 months ago

Use the pacrepairfile utility and you can set them to the distro shipped permissions easily https://man.archlinux.org/man/pacrepairfile.1

[–] [email protected] 6 points 6 months ago (1 children)

For now, as far as you know.

[–] [email protected] 1 points 6 months ago (1 children)

I can't see a reason for it to fail since the root user was functioning just fine, shit got buggy as soon as other users tried to read from the fs

[–] [email protected] 1 points 6 months ago (1 children)

Not sure about what permission changes you did, but my system has various permissions depending on the files or folders, so a general recursive change may give you a functioning system, but with broken security

[–] [email protected] 1 points 6 months ago

i didn't change permissions recursivly, only for the mountpoints root

[–] [email protected] 5 points 6 months ago (3 children)

Just do the installation again...fixing the permissions maybe easy or extremely hard, depending on how far the problems go. And I don't think you will learn much besides of how the chown command works.

[–] [email protected] 6 points 6 months ago

Not with modern package management systems. In the pacutils package is the pacrepairfile tool that is specifically made for repairing file permissions https://man.archlinux.org/man/pacrepairfile.1

[–] [email protected] 4 points 6 months ago

I think the point a lot of people are making is that because it's a fresh install it might have been quicker and faster to just reinstall versus whatever kind of checking and troubleshooting you'd have to do with the permissions.

[–] [email protected] 0 points 6 months ago

It was only the root of the partitions that I messed up, and I guess the bugs were caused because the Mint live boot only gave the user read permissions (no group or others can read) so I believe shit is fine, plus it's a fresh installation so there's that too

[–] [email protected] 3 points 6 months ago (1 children)

Whenever I break something and can't figure it out, I just make sure anything important is backed up and do a clean reinstall. Someone else might have a better answer though

[–] [email protected] 4 points 6 months ago

Seriously nobody gave me an answer, I looked it up from my 2nd machine running Arch and shit is working now

[–] [email protected] 2 points 6 months ago

Good on you for getting it fixed. One of the reasons Linux is a great OS in my opinion is that everything is in the file system and not in some arcane hidden thing. So every problem is solvable without a reinstall if you're motivated enough to figure it out.

[–] [email protected] 1 points 6 months ago (1 children)

It depends on how interested/motivated you are in finding out exactly why things aren't working. If you just want a working system without the hassle, since it's a fresh install, I'd recommend just reinstalling.

[–] [email protected] 0 points 6 months ago

Things weren't working because of the owner+permission being set by Mint instead of the Arch installer, it prevented non-root from reading anything off the system, now that I chmod the mount points, things are functioning well

[–] [email protected] 1 points 6 months ago (1 children)

I'm surprised it booted lol

[–] [email protected] 1 points 6 months ago

I'm surprised it installed just normally