From MoodleDocs

This error can occur when moving a Moodle site from one server to another and the actual file in the moodledata directory was not copied over correctly.

The entry in the database referenced a legacy resource file but the actual file did not exist on the server.

The screen reported Permissions error which is kind of correct but "file not found" would be more appropriate.

See also

Forum discussions: