I uninstalled Sophos with the uninstaller it comes with, but there are still kext files in my library folder. (/Library, not ~/Library). I have tried many different ways to delete them but nothing has worked. If you are somehow a genius and know how to delete the files please let me know.
1. Cannot cmd-delete them, the command is disabled and nothing happens.
2. Cannot manually drag the files to the trash because I get an error that says 'file cannot be modified or deleted because it is required by macOS'.
3. I cannot run sudo chmod or sudo chown on the files because then I get the error "Operation not Permitted.'.
4. cmd-i on the file (look down at permissions) shows read only for system, wheel and everyone. I can unlock the permissions by clicking the lock icon but if I try to change the permissions I get the error message, "The operation can’t be completed because you don’t have the necessary permission." (Please refer to #3 for why I cannot change the permissions manually)
5.
$ sudo kextunload /Library/StagedExtensions/Library/Extensions/SophosFileMonitor.kext
Password:
(kernel) Kext com.sophos.kext.sfm not found for unload request.
Failed to unload com.sophos.kext.sfm - (libkern/kext) not found.
$
I am stumped. Does anyone have any ideas on how to remove this file?
1. Cannot cmd-delete them, the command is disabled and nothing happens.
2. Cannot manually drag the files to the trash because I get an error that says 'file cannot be modified or deleted because it is required by macOS'.
3. I cannot run sudo chmod or sudo chown on the files because then I get the error "Operation not Permitted.'.
4. cmd-i on the file (look down at permissions) shows read only for system, wheel and everyone. I can unlock the permissions by clicking the lock icon but if I try to change the permissions I get the error message, "The operation can’t be completed because you don’t have the necessary permission." (Please refer to #3 for why I cannot change the permissions manually)
5.
$ sudo kextunload /Library/StagedExtensions/Library/Extensions/SophosFileMonitor.kext
Password:
(kernel) Kext com.sophos.kext.sfm not found for unload request.
Failed to unload com.sophos.kext.sfm - (libkern/kext) not found.
$
I am stumped. Does anyone have any ideas on how to remove this file?