symbiote / silverstripe-steamedclams

Anti-Virus scanning functionality for Silverstripe
BSD 3-Clause "New" or "Revised" License
13 stars 15 forks source link

Access errors #16

Closed Firesphere closed 1 year ago

Firesphere commented 4 years ago

All files are rejected, due to access errors Even though, none of these files are actually infected

198.41.238.115 7 (Edit) /var/www/public/assets/Uploads/myimage.jpg admin/queuedjobs/Symbiote-QueuedJobs-DataObjects-QueuedJobDescriptor/EditForm/field/QueuedJobDescriptor Deleted, File was infected Access denied. ERROR
198.41.238.115 7 (Edit) /var/www/public/assets/Uploads/myimage.jpg admin/queuedjobs/Symbiote-QueuedJobs-DataObjects-QueuedJobDescriptor/EditForm/field/QueuedJobDescriptor Infected, Pending Action Can't open file or directory ERROR
nglasl commented 4 years ago

I'd be curious to know if anyone else is having this issue too? I know we're using this module across a few projects without problems. I assume you've checked your folder permissions.

Firesphere commented 4 years ago

I can see the problem, after looking at it a bit closer.

The path is /var/www/public. This is incorrect, it needs to be /var/www/{$domain}/web/public

Seems the path is detected wrong in the scan?