Moodle Uploaded File Permissions Issues
We are running Moodle 1.9.8 on Windows Server 2008 R2 using a mysql db. We're having an issue where teachers upload images via the html text editor and it will upload fine, however the file doesn't get the permissions it should in order for other users to view it.
The permissions are correct on the parent directory, and the file itself says its inheriting, but it gets a completely different set of permissions until you either untick-re-tick inheritance, or tell the parent directory to reapply permissions to child files/folders...
If you create a file in the directory via notepad or whatever, it gets the permissions properly, so it seems to be something relating to moodle applying them when it creates?