Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I accidentally executed the following command in an important dir without knowing what the command does. Now I'm getting permission denied and not able to open the dir.

sudo chmod -R -rwx . 

Please help

share|improve this question
3  
You has deny all permissions. Just exec sudo chmod -R +rwx –  sgmart May 1 '13 at 4:38
    
Thank you @sgmart –  Praveen Vijayan May 1 '13 at 4:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.