Using Ubuntu 19.4 When scanning with Sophos it scans nearly 80,000 files. However it comes up with an error message in the log saying " /snap " directory couldn't be opened ? So what I do is scan that directory with ClamTK just to make sure there's nothing malicious.
Any ideas why it doesn't play ball with that directory ?
Welcome to the Ask Ubuntu forums!
/snap is only accessible by the root user (the user you created in the Ubuntu installation) so if you are running a virus scan as a regular user it cannot access the directory. Try running the antivirus program through the terminal by running:
sudo
and the antivirus name and remember, all letters are non-capital. Plus, the package name may be different from the program name. For Sophos, the package name should besophos
orsophos-av
so you would run:sudo sophos
or you would runsudo sophos-av
As for if something malicious is in /snap, it is very unlikely. Snaps are tested before being added to the Store and also they are self-contained. They can't read nor write to anywhere outside their directory.