0

I want to run my project on localhost and i gave permission to all directories including in my project. But the problem is in Image directory. how can i give permission to each and every images. it is quit difficult for me because there is lots of images in my image folder. I used sudo chmod 777 < directory>

Param
  • 19
  • 1
  • 4

1 Answers1

1

This is an evil trick that I some times use if I am lazy about changing permissions.

  1. [Cautionary] Disconnect the internet to prevent shenanigans from rogue elements.
  2. Ctrl+Alt+T to open up a terminal.
  3. sudo nautilus
  4. Navigate to your pictures directory.
  5. Select the files you want to change permissions of
  6. Right-click to Properties.
  7. Goto Permissions Tab.
  8. Do your ghastly deed.
  9. Exit Nautilus.
  10. Reconnect internet.

Remember; this is evil, because you are giving a file manager incredible power.

muru
  • 197,895
  • 55
  • 485
  • 740
Anon
  • 12,063
  • 23
  • 70
  • 124