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

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)