by dan johnson.
I believe you misunderstood my question. I'm asking about the moodle folder and whether or not it should be set to "chown -R www-data:root moodle" or not.
I'm not asking about the moodledata folder or what the command is. I'm just curious about permissions and setting them to the above, and if that's problematic.