How would I, with security in mind, allow www-data
to create directories within /var/www/html/assets/img
and its sub-directories?
I have a PHP script that automatically creates directories with 777 permissions, but www-data
currently doesn't have the required permissions to allow that.