Sophos Community
  • User
  • Help
  • Site
  • Search
  • User
  • All Groups
  • Knowledge Base
  • Blog
  • More
  • Cancel

Knowledge Base

  • Advisories
  • +CyberoamOS
  • +Data Control and DLP
  • Email Appliance
  • +Endpoint Security and Control
  • +Free Tools
  • +General
  • +Mobile
  • +PureMessage
  • +Reflexion
  • +SafeGuard encryption
  • +Server protection
  • +Sophos Central
  • Sophos Clean
  • Sophos Home
  • +Sophos UTM 9
  • Web Appliance
  • +XG Firewall
Tweets by @SophosSupport

Sophos Anti-Virus for Linux: How to install when /tmp is mounted as noexec

  • Article ID: 131783
  • Updated: 27 Nov 2018
  • 4 people found this helpful
  • Available in: English | Español | Italiano | 日本語 | Français | Deutsch

Overview

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

What to do

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:

Remount the /tmp without noexec 

  1. Mount the /tmp exec using this command mount -o remount,exec /tmp
  2. Run install.sh, SophosInstall.sh or use the package manager of your choice to install the package rpm -i SophosInstall.rpm / deb -i SophosInstall.deb
  3. Mount the /tmp noexec again using this command mount -o remount,noexec /tmp

Overwrite the TMPDIR variable

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.

  1. Set the TMPDIR to /var/tmp by using the command export TMPDIR=/var/tmp
  2. Run the installer as described above.

Related information

  • Sophos Anti-Virus for Unix/Linux: How to uninstall
  • Installing the standalone version of SAV for Linux/UNIX

Feedback and contact

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.

Article appears in the following topics
  • Advisories
  • Endpoint Security and Control > Endpoint protection > Sophos Anti-Virus > For Linux
  • Endpoint Security and Control > Endpoint protection > Sophos Anti-Virus > For UNIX

Did this article provide the information you were looking for?

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.

  • Submit
Sophos Footer
  • T&Cs
  • Help
  • Cookie Info
  • Contact Support

© 1997 - 2019 Sophos Ltd. All rights reserved.