You are not logged in.

#1 2010-01-06 20:25:20

Chance
Member
Registered: 2008-12-05
Posts: 99

[Solved...] Huge mistake!

I tried to delete the files inside /var/cache/pacman/pkg to empty out room, but because as a regular user i didn't have permissions, so i searched up some commands. I must have used the wrong numbers cuz now i can't even log in with root.

I did:

chmod -R 755 /
chmod 755 /
chmod -R 777 /
chmod 777 /

Is there a way to fix all of that?

Last edited by Chance (2010-01-06 20:47:19)

Offline

#2 2010-01-06 20:33:05

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Solved...] Huge mistake!

Unless someone knows a way to restore all permissions in your filesystem, it'd be easier if you just reinstalled.

This is why you need to know what commands do and actually ask people rather then just finding random commands and running them as root.

Last edited by tomd123 (2010-01-06 20:33:56)

Offline

#3 2010-01-06 20:42:20

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved...] Huge mistake!

I'm a little surprised that you can't even log in as root, but even if you could, I can't think of a way to fix it either. sad

Although, honestly, I am a little jealous that you get to install Arch again. Installing Arch was so much fun, but now my computer is all "set up" and boring. tongue

Offline

#4 2010-01-06 20:47:03

Chance
Member
Registered: 2008-12-05
Posts: 99

Re: [Solved...] Huge mistake!

drcouzelis wrote:

I'm a little surprised that you can't even log in as root, but even if you could, I can't think of a way to fix it either. sad

Although, honestly, I am a little jealous that you get to install Arch again. Installing Arch was so much fun, but now my computer is all "set up" and boring. tongue

3rd install in 2 days now =.=...

I was trying to move to tiling managers, so i wanted a clean install but i encountered so many problems. I'll just list this as solved...

Offline

#5 2010-01-06 20:47:28

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: [Solved...] Huge mistake!

drcouzelis wrote:

Although, honestly, I am a little jealous that you get to install Arch again. Installing Arch was so much fun, but now my computer is all "set up" and boring. tongue

I love it!! It's so true!!! This is why I always keep a small spare partition... get bored? Install an OS!


.:[My Blog] || [My GitHub]:.

Offline

#6 2010-01-06 23:39:56

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [Solved...] Huge mistake!

Chance wrote:

I tried to delete the files inside /var/cache/pacman/pkg to empty out room

I did:
chmod -R 755 /

Why would you change permissions on directory / when you have problems with directory /var/cache/pacman/pkg (not to mention you took the wrong approach completely)? I don't understand how did it ever seem like a good idea.

If you don't plan on reinstalling your operating system every 3 days you should change your approach. Double check what ever you are about to execute before pressing Return, at the very least. There are people running one and the same system for 10+ years, upgrading it as they go, so there is a way and I hope you find it.


You need to install an RTFM interface.

Offline

#7 2010-01-07 00:13:03

folletto
Member
From: Poland
Registered: 2009-03-31
Posts: 26

Re: [Solved...] Huge mistake!

Next time to clean pacman cache from not installed packages try:

# pacman -Sc

or if you want remove all installed packages cache:

# pacman -Scc

for details go here

Offline

#8 2010-01-07 03:13:04

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [Solved...] Huge mistake!

Ghost1227 wrote:
drcouzelis wrote:

Although, honestly, I am a little jealous that you get to install Arch again. Installing Arch was so much fun, but now my computer is all "set up" and boring. tongue

I love it!! It's so true!!! This is why I always keep a small spare partition... get bored? Install an OS!

or install a VM to create multiple "small partitions" within the all set up and boring system. tongue

Offline

Board footer

Powered by FluxBB