Remount /tmp with exec permission

There are times where you may need to have exec permission available for the /tmp folder. This can be updated via the following commands:


mount -o remount,exec /tmp


Once exec usage is complete run the following:

mount -o remount /tmp



  • 155 Users Found This Useful

Was this answer helpful?

Related Articles

Recursive chmod / Permission Change Across Directories for a File Type

The following command may be very useful for changing the permissions of a file type such as .php...

Manually Clear from Console / Command Line cPanel Exim Mail Queue

To clear the cPanel exim mail queue quickly from a command line / shell use the following...

cPanel Max Defers Occurring for an Account

While viewing exim_mainlog and seeing the following:   enforce_mail_permissions: Domain...

CSF Error: *WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf-conf is either incorrect, is not installed or is not executable

During a CSF start or restart you may encounter this error. This is a result of /usr/bin/host...

Nginx redirecting folder to another host or server

From time to time you may want to proxy out a path to another server or location. To perform a...