Apache has no rights to unzip file uploaded by DirectAdmin created FTP user

Posted by FlyOn on Server Fault See other posts from Server Fault or by FlyOn
Published on 2012-08-30T08:28:44Z Indexed on 2012/08/30 9:40 UTC
Read the original article Hit count: 175

Filed under:
|
|

I know similar things have been asked a thousandfold, but I can't seem to figure it out..

I have recently started renting a VPS. It runs DirectAdmin. I created a reseller account in the admin account, and created a new user (with FTP account) with the reseller account.

I logged in with FTP as the created user and uploaded a zip file and a php file which will extract the zip. But when running the script in the browser I get "Permission denied" errors however. Probably because Apache is not in the same group as the users FTP account.

Now my question is: How can I solve this once and for all, so that I don't have to do it again for every new user account I create through DirectAdmin?

© Server Fault or respective owner

Related posts about apache2

Related posts about permissions