This is going to sound very noobish. lol.
u got my apache server up and running on my newly installed ubuntu server and i was copying some stuff i had been working on from my usb to my root folder.
i go to access it and it says forbidden. so when i create the folder rather than copy it. it allows me to see the folder but every time i view the stuff in it it wont allow me to see it. once again forbidden.
what do you guys do with your apace server?
Apache webserver folder permissions
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
yeah, for a quick solution:
DON'T do this when your server is available to the public on the net, only for LAN-usage, because you give read/write/execute permissions to anyone that way.
chmod is an essential command in *nix systems, so make sure you understand how it works, start here:
http://en.wikipedia.org/wiki/Chmod
Code: Select all
chmod -R 777 <foldername>
chmod is an essential command in *nix systems, so make sure you understand how it works, start here:
http://en.wikipedia.org/wiki/Chmod
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
well, 777 means everybody has the right to read/write/execute anything...what dangers are caused by this depends of course on the source files. if there is just a simple html file it will not cause security risks, but if there are install scripts for example or passwords in a flatfile it would be very dangerous...