We're running on Ubuntu and have an Apache2 webserver with some apps that require cron-jobs installed.
The cron jobs occasionally send mails which of course goes to the www-data user. The home dir of that user is /var/www but for security reasons that directory is owned by root (maybe this is a bad idea...) which makes it difficult to use www-datas account.
I'm considering changing www-datas home directory to /home/www-data to make things easier.
Would changing the home directory of the Apache default user break anything?