I've got Moodle installed on Azure via a Bitnami image. All worked well except I kept getting issues logging in as an admin, but only every-so-often. After checking, it seemed as though there was an issue with access to the files within the
moodledata folder. To fix it I run
sudo chmod -R 777 moodledata/
And everything seems to work OK... for a while.
It seems to be mostly happening on Monday mornings, so I got to thinking about the cron jobs running. I also noticed that the owner of the
trashdir changed to