Good Morning, i realized that for some time I have problems with permissions Apache. Let me explain, I created a file upload ajax, when transferring the uploaded file to the folder "files" hangs around, I tried the same script (copy-paste, I have not even touched the link) on a website and there everything works. Surely this is permission problems, how do I solve these problems once and for all permit? I use Apache on Ubuntu. Thanks in advance!
migrated from stackoverflow.com Sep 21 '12 at 23:11
This question came from our site for professional and enthusiast programmers.
Have you tried using 'chmod' to change the permissions to the folder?
Usually there is an associated www user for which you can set the permissions to be able to have write and read access to the folder, not just read.
More info on the command here.
A way to test for the permissions is to set to full access, i.e.
Remember not to leave it on 777 as it's accessible by everyone.