If a file is uploaded or created in any way by a php file I cannot modify it, however I can delete it. This is really irritating.
P.S.: All of the files that have been created or uploaded have been done with phpBB 3.0.11
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most probably, PHP is running under the web server user (httpd, www, www-data or similar). When files are uploaded, they are owned by this user.
You cannot modify the files as you are not the owner. You can however delete them as you most probably own the upload directory.
Some solutions are: