how to allow for Apache to read/write to user home directory?

I want to allow for Apache to upload files to user home directory /homw/username/upload_files which is outside the webserver root /var/www/website/

my apache server is currently running under user "www-data". I changed the group owner of the target folder /homw/username/upload_files to www-data , and changed the permission to rwx

drwxrwxrwx 2 www-data www-data 6 Dec 6 09:46 upload_files

However, I am not able to figure out how to allow for apache to upload files to user's home directory.



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Network Error and Timeout on Authorize.net JS

Spring Elasticsearch Operations