You can turn on virus scanning for files in a share if the share is used by users other than trusted users or safety is more important than speed of access.
- Enter the following command: cifs shares -change share_name -vscan
share_name is the name of the share for which you want to turn on virus scanning.
The application performs a virus scan when clients open files on this share. The setting is persistent after reboot.
Note: You can set these share attributes for all CIFS user home directories by using cifs.homedir as the share name, for example, cifs shares -change cifs.homedir -vscan