nextcloud / files_antivirus

👾 Antivirus app for Nextcloud Files
https://apps.nextcloud.com/apps/files_antivirus
GNU Affero General Public License v3.0
85 stars 36 forks source link

files_antivirus didn't scan in group folders. #296

Open tx0h opened 11 months ago

tx0h commented 11 months ago

hi,

when i run a background-scan, it finds all viruses in the user directories but not in group folders. this is maybe a bug or simply not implemented. if it is not implemented, i would think it should be implemented. everything else wouldn't make any sense, in fact, it would put the whole package under question.

if you need any details, please ask, i'll do my best to provide any really needed information.

tx

Steps to reproduce

  1. copy a eicar virus test file into a group folder directory (/data/__groupfolders/1)
  2. run occ files:scan -all and occ groupfolders:scan 1
  3. then run occ files_antivirus:background-scan

Expected behaviour

it should detect the eicar virus test file

Actual behaviour

it didn't detect the eicar virus test file

Server configuration

docker container with nextcloud (recent version)

Operating system: debian stable (recent version)

Web server: apache2 with nginx reverse proxy (both recent versions)

Database: postgresql (recent version)

PHP version: recent version

Nextcloud version: (see Nextcloud admin page) 27.1.2

Where did you install Nextcloud from: hub.docker.com

List of activated apps: groupfolders (recent version) files_antivirus (recent version)

stephanamann commented 3 months ago

Using occ files_antivirus:status it is obvious, that groupfolders are not checked.

Did I miss a setting? If not, is there a workaround?

I understand, that files_antivirus and groupfolders are two different apps. If there would be a setting in files_antivirus to activate groupfolders, this would be highly appreciated...

dpitchfo commented 2 months ago

I am seeing the same issue. Was there a work around or resolution for this issue?