2

I entered /var/www and I ran sudo find / -type d -exec chmod 755 {} ;, thinking that this will only affect folders in /var/www. This changed permissions of all system folders.

How can I restore every folder to its default permissions?

troylatroy
  • 1,275
  • 1
  • 11
  • 21
Freida
  • 21
  • 1
  • Re-installation only think I can think of now... – George Udosen Mar 22 '17 at 18:12
  • If you chose to reinstall, you may want to back up your data first, such as the /var/www folder, as well as /home so that you can restore it after re-installation. But you will still have to verify the permissions of all the files after you restore. – Delorean Mar 22 '17 at 19:18

1 Answers1

0

Reinstall is only option. sorry :).

Hyltixa
  • 105