Hello,
When sorting out an issue with 'PHP Unit' -> https://moodle.org/mod/forum/discuss.php?d=412355 I read the install docs and:
https://docs.moodle.org/39/en/Installing_Moodle#Download_and_copy_files_into_place
indicates that the 'moodle' folder should have the user and group of 'root' so that the web server cannot write to the code files and yet:
https://docs.moodle.org/39/en/Installing_Moodle_on_Debian_based_distributions
states to have the user and group as 'www-data' which is the user and group that the web server (in this case Apache) is running under and therefore the code files are writable by the web server!
Which is correct please?
Gareth