These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for User permissions within public_html for Apache/FCGId on the new forum.
Having troubles with the permissions for the user's public_html folders.
Directory get created with username:username as owner/group. Website kinda works, but certain things (writing to files, uploading stuff within Wordpress and so on) does not - its showing permissions problem.
If I change the user/group to www-data everything works as expected.
I suspected suexec as problem, but that does not seem to be the case.
root@srv:/home/ssnv/public_html# cat /etc/apache2/suexec/www-data
/home
public_html
# The first two lines contain the suexec document root and the suexec userdir
# suffix. If one of them is disabled by prepending a # character, suexec will
# refuse the corresponding type of request.
# This config file is only used by the apache2-suexec-custom package. See the
# suexec man page included in the package for more details.
root@srv:/home/ssnv/public_html# a2enmod suexec
Module suexec already enabled
root@srv:/home/ssnv/public_html#