File Integrity - white list files?

Pretty much as it says above in the subject headline. Is there a way to white list certain files in the root folder?

In my case these files triggers Owncloud:
Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • core
    • EXTRA_FILE
      • .ftpquota
      • error_log
      • own-cert-test.php.old
      • info.php
      • php.ini
        So they are all safe. So how do you whitelist them?

Thanks in advance.

Yes. Usually, it’s this:

/**
 * Define files that are excluded from integrity checking
 * Exclude files from the integrity checker command
 */
'integrity.excluded.files' => [
        '.DS_Store',
        'Thumbs.db',
        '.directory',
        '.webapp',
        '.htaccess',
        '.user.ini',
  ],

But please think about it, whether those files really need to be there. In a clean system, they don’t, IMHO.

3 Likes

Thank you very much for your kind help @alfredb .

It is appreciated! :smiley:

I suppose this goes into the configuration file, correct?

Kind regards

Yes, it’s in the ownCloud config.php file.

1 Like

Thank you very much Alfred!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.