give apache permission to write files to folder
- by user1683645
I'm trying to give www-data which is the name of the apache on my ubuntu permission to write files to folders.
The entire website is in /media/root/data/ and I've got member folders containing the user specific images.
apache tmp folder is set to: /media/root/data/tmp and the permission is set for www-data to read and write to it.
About member folders that contain images. First off I tried giving www-data the rw permission and upload an image, but it did not work. Everything else in the site works except uploading files.
How do I automaticly give apache rw permission to new member folders? And why cant I write to it?