You are not logged in.

#1 2012-09-15 09:21:37

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

[solved] Help undoing permission changes

I got this error

[2012-09-15 05:06] warning: directory permissions differ on usr/
filesystem: 775  package: 755
[2012-09-15 05:06] warning: directory permissions differ on usr/lib/
filesystem: 775  package: 755

while intsalling some packages and so hastily cd'ed into /usr and did 

$ sudo chmod 775 ./
$ sudo chmod 775 lib/

is there any way to undo these changes, which from what I read is pretty unlikely, or at least to change them back to the predefined permission settings?  Like if yall happen to know that /usr is actually supposed to be 716 (just to pick a random number). 

I've googled it and don't have much hope, but I think that I ought to do a bit more googling before giving up.

Last edited by lspci (2012-09-15 11:49:54)


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

#2 2012-09-15 09:36:52

Lennie
Member
From: Sweden
Registered: 2011-10-12
Posts: 146

Re: [solved] Help undoing permission changes

775 is what you already had. 755 is what's recommended.
Read the wiki page about chmod

Offline

#3 2012-09-15 11:49:24

lspci
Member
From: Virginia, USA
Registered: 2012-06-09
Posts: 242

Re: [solved] Help undoing permission changes

Lennie wrote:

775 is what you already had. 755 is what's recommended.
Read the wiki page about chmod


So my permission change wasn't a problem, then?  I didn't see anything in wiki article that mentioned the default setting, though I gathered from it that 755, was kind of recommended.


Please don't be a help vampire. | Bitbucket

Give a little more for a little less today.  smile

Offline

Board footer

Powered by FluxBB