17
submitted 8 months ago by notTheCat@lemmy.ml to c/linux@lemmy.ml

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
[-] catloaf@lemm.ee 12 points 8 months ago

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

[-] notTheCat@lemmy.ml 1 points 8 months ago

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

[-] burrito@sh.itjust.works 8 points 8 months ago

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

[-] catloaf@lemm.ee 6 points 8 months ago

For now, as far as you know.

[-] notTheCat@lemmy.ml 1 points 8 months ago

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

[-] BCsven@lemmy.ca 1 points 8 months ago

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

[-] notTheCat@lemmy.ml 1 points 8 months ago

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

[-] SaThaRiel@lemmy.world 5 points 8 months ago

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.

[-] burrito@sh.itjust.works 6 points 8 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

[-] Stanley_Pain@lemmy.dbzer0.com 4 points 8 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.

[-] notTheCat@lemmy.ml 0 points 8 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

[-] Player2@lemm.ee 3 points 8 months ago

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

[-] notTheCat@lemmy.ml 4 points 8 months ago

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

[-] Overspark@feddit.nl 2 points 8 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.

[-] somethingsomethingidk@lemmy.world 1 points 8 months ago

I'm surprised it booted lol

[-] notTheCat@lemmy.ml 1 points 8 months ago

I'm surprised it installed just normally

[-] Kalcifer@sh.itjust.works 1 points 8 months ago

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.

[-] notTheCat@lemmy.ml 0 points 8 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

this post was submitted on 05 Mar 2024
17 points (77.4% liked)

Linux

48080 readers
697 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