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>
Asked
Active
Viewed 968 times
0
1 Answers
1
This is an evil trick that I some times use if I am lazy about changing permissions.
- [Cautionary] Disconnect the internet to prevent shenanigans from rogue elements.
- Ctrl+Alt+T to open up a terminal.
sudo nautilus
- Navigate to your pictures directory.
- Select the files you want to change permissions of
- Right-click to Properties.
- Goto Permissions Tab.
- Do your ghastly deed.
- Exit Nautilus.
- Reconnect internet.
Remember; this is evil, because you are giving a file manager incredible power.
644
. Preferably the entire directory should be group-owned bywww-data
and giveng+r
. – muru Aug 05 '14 at 21:13