This article describes the two options to install the Sophos anti-virus for Linux when /tmp is mounted as noexec.
Applies to the following Sophos products and versions Sophos Anti-Virus for Linux 10
The first thing to do is to check if the /tmp is mounted as noexec. To do this, run the command mount|grep tmp
If the result shows /tmp noexec, proceed in doing either of the steps or options below:
mount -o remount,exec /tmp
rpm -i SophosInstall.rpm / deb -i SophosInstall.deb
mount -o remount,noexec /tmp
The TMPDIR is a variable used by the Sophos anti-virus for Linux install script to extract the archives for the installation. Another way to install the Sophos anti-virus for Linux when /tmp is mounted as noexec is to set the TMPDIR variable to a mount point which is not mounted as noexec.
Note: If the TMPDIR has already been set to a location, restore it to its previous value.
If you've spotted an error or would like to provide feedback on this article, please use the section below to rate and comment on the article. This is invaluable to us to ensure that we continually strive to give our customers the best information possible.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. For technical support post a question to the community. Or click here for new feature/product improvements. Alternatively for paid/licensed products open a support ticket.