Repository/filesystem shows "Cannot read" file when using alias/shortcut to a file

Repository/filesystem shows "Cannot read" file when using alias/shortcut to a file

by Jonathan Garcia -
Number of replies: 0

Hi all,

On version 3.4.3 , I'm getting on an specific Moodle site the following error: 

"Cannot read file '<file name>'. Either the file does not exist or there is a permission problem." when creating a new file resource activity using files from repository (also happens when using repository instances). When I clicked on the save button, I was returned to the course, and the file resource was visible in the course, and I was able to select it, and read the contents.

I have not been able to reproduce the error on the same branch in different tests and development environments.

Moodle file record for the file looks good, status flag has value "0". Permissions on the given file are ok.

Just wondering if any one has seen something like this before.


Thanks.

Average of ratings: -