You are not logged in.

#1 2008-10-20 00:56:48

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

[SOLVED] Accidently did chmod -x on a directory...

Hello,

I have a /usr/local/bin directory, with two scripts: 'pacmanrd', whice removes orphaned packages, and 'start-fusion', which starts Compiz Fusion (standalone). While logged in as a user, I used sudo to chmod -x the entire directory, when I meant to +x the 'start-fusion' file x.x

Now, it seems only the root user 'using sudo works' can even see files in that directory. Even using 'ls' as a normal user on that directory results in whining that it can't access the files. How can I fix this? I'm guessing remove the directory and make a new one, but if so, how do I set the permissions right?


Thanks!!

Last edited by Ranguvar (2008-10-28 02:11:50)

Offline

#2 2008-10-20 01:02:31

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] Accidently did chmod -x on a directory...

Just "chmod +x directory".  Or "chmod 755 directory" if you are worried about other permissions.

Offline

#3 2008-10-20 01:04:22

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: [SOLVED] Accidently did chmod -x on a directory...

Okay, thanks (again) smile

I had just wanted to be sure, and not muck things up more.

Offline

Board footer

Powered by FluxBB