Invalid permissions detected when trying to create a directory. Turn debuggin on for further details.

Invalid permissions detected when trying to create a directory. Turn debuggin on for further details.

by dongho treotuong1 -
Number of replies: 0

We have an error that keeps popping up. We're running Moodle 3.3 on a Windows IIS server with PHP 7 and MSSQL.

Every few days we get the following error message when a user logs in:

Invalid permissions detected when trying to create a directory. Turn debugging on for further details.

The folder in question is [tempdir]/filestorage.  Our Moodledata folder is located at C:\Moodledata

If we delete the tempdir folder the error goes away, a new one gets automatically created by the next login, and then a few days later the problem pops up again. To solve the problem we've changed permissions on the tempdir so that any user or group associated with the web server has pretty much full permissions to the folder in question. We'll know in a few days if this solves the problem for good.

Has anyone seen this problem before? If so, how did you solve it?


Average of ratings: -