Hello everyone,
I encounter a strange issue with a course, my users try to import from another ILIAS Plattform.
The course itself gets uploaded, but when you try to open path's or pick up one of the included PDF file's, an error occurs:
1 Whoops\Exception\ErrorException thrown with message "fopen(/opt/ilias/iliasfiles/schoolingl/temp/tmp6017d94ee3321/1610447219__11979__crs_2749/set_3/1610447177__11979__htlm_2886/Modules/HTMLL earningModule/set_1/expDir_1/dsDir_1/group/GR_69114CCCAD2AAFA0/W10-1803_Universal.pdf): failed to open stream: Operation not permitted"
2
3 Stacktrace:
4 #32 Whoops\Exception\ErrorException in /var/www/html/ilias/libs/composer/vendor/league/flysystem/src/Adapter/Local.php:178
5 #31 fopen in /var/www/html/ilias/libs/composer/vendor/league/flysystem/src/Adapter/Local.php:178
6 #30 League\Flysystem\Adapter\Local:readStream in /var/www/html/ilias/libs/composer/vendor/league/flysystem/src/Filesystem.php:196
The only way to access these files, is to give it execute permissions "chmod +x <files>"
Only then they can access these files. But I wonder why it does work with other files that are not in that course and NOT executable.
I already tried the following:
1. Disable SELinux
2. change PHP Version from 7.2 to 7.3
3. Change from Standard PHP to FastCGI in Apache
4. Tried on 2 different Servers with the same result.
Any idea why this could happen?