1

I accidentally did chmod 667 on /home/user/Desktop/ and now it is behaving strangely.

How can I reverse the damage I have done?

5
  • What is the exact command you executed? You can see the history using history or using the up arrow.
    – jobin
    Jun 21, 2014 at 14:54
  • post the output of history | tail -4 command. Jun 21, 2014 at 14:56
  • @AvinashRaj: How can you know only four commands have been executed since?
    – jobin
    Jun 21, 2014 at 14:57
  • it will be more accurate history | tail -30 | grep chmod Jun 21, 2014 at 14:59
  • Close-voters: There's nothing unclear about this question, the desktop folder's permissions were changed to 667. Jun 26, 2014 at 3:29

2 Answers 2

4

755 is standard mode for directories. just

 chmod 755 /home/User/Desktop

and everything will be ok

2

Try chmod -x Desktop, executing it from ~ ( your home folder).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .