You are not logged in.

#1 2009-08-21 16:39:53

dragos240
Member
Registered: 2009-05-23
Posts: 189

Reseting permissions on my archbox.

Hi everyone,

I was setting permissions for the root directory, so that nobody could access it but root. I didn't think of the possibility that none of the other users besides root could login. Now /bin/bash will not execute for anyone else sad. So root is the lone survivor. Is there a way to reset the permissions with chmod? Or another tool?

Offline

#2 2009-08-21 17:00:31

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: Reseting permissions on my archbox.

Did you do it recursively? I think this is one of the ways to mess up a linux system to the point that it is easier to reinstall, but I might confuse chown and chmod here.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#3 2009-08-21 17:10:22

dragos240
Member
Registered: 2009-05-23
Posts: 189

Re: Reseting permissions on my archbox.

tlvb wrote:

Did you do it recursively? I think this is one of the ways to mess up a linux system to the point that it is easier to reinstall, but I might confuse chown and chmod here.

I did this damage in gnome under root nautilus, changing the other permissions from read only, to no access. And I also clicked apply permissions throughout folders or something, but I stopped it midway. This is all I know I did.

Offline

#4 2009-08-21 18:01:06

AdrenalineJunky
Member
Registered: 2009-05-03
Posts: 149

Re: Reseting permissions on my archbox.

chmod o+r /directory

Offline

Board footer

Powered by FluxBB