This article describes the two options to install the Sophos Anti-Virus for Linux or Sophos Linux Security when /tmp is mounted as noexec.
The following sections are covered:
Applies to the following Sophos products and versions Sophos Anti-Virus for LinuxSophos Linux Security 10.3.2
The first thing to do is to check if the /tmp is mounted as noexec. To do this, run this command: mount|grep tmp
If the result shows /tmp noexec, proceed in doing either of the steps or options below:
Remount the /tmp with exec enabled. To do this:
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 or Sophos Linux Security 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 was already set to a location, you may want to restore the value of TMPDIR to what it was previously.
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.