Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34939

Regression: Clamav reporting errors when scanning external repo files

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-34939-master
    • Hide

      A couple of options here:

      1. Write a wrapper for clamdscan which adds the --fdpass option and use that instead; or
      2. Use clamscan instead. This is a last resort as it adds a massive performance hit.
      Show
      A couple of options here: Write a wrapper for clamdscan which adds the --fdpass option and use that instead; or Use clamscan instead. This is a last resort as it adds a massive performance hit.
    • Hide
      1. Make sure that you are using clamdscan for virus checking in Moodle settings.
      2. Make sure that Moodle data directory permissions does not allow others read/execute (e.g. chmod 700 /path/to/moodledata).
      3. Make sure you have at least one external repo that allows files importing (e.g. Flickr public).
      4. Create file resource, choose adding new file and use external repo to chose file from. You should not get any errors, file should be successfully imported.
      5. Replicate steps above using clamscan
      Show
      Make sure that you are using clamdscan for virus checking in Moodle settings. Make sure that Moodle data directory permissions does not allow others read/execute (e.g. chmod 700 /path/to/moodledata). Make sure you have at least one external repo that allows files importing (e.g. Flickr public). Create file resource, choose adding new file and use external repo to chose file from. You should not get any errors, file should be successfully imported. Replicate steps above using clamscan

      when a user uploads/selects a file from an external repo (google docs, picasa, flickr)
      Clam av has trouble processing the file and sends an e-mail to the admin:

      Clam AV has failed to run. The return error message was An error occured. 
      Here is the output from Clam:
       
      /temp/download/filename.rtf: Can't open file or directory  ERROR 
      ----------- SCAN SUMMARY ----------- 
      Infected files: 0 
      Total errors: 1 
      Time: 0.005 sec (0 m 0 s) 
      

            kabalin Ruslan Kabalin
            danmarsden Dan Marsden
            Andrew Lyons Andrew Lyons
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.