Your Webhosting Questions
Answered by the Webhosting Experts

How to protect /tmp on your server?

Normally you get the following error

Error or warning message : Check /var/tmp is mounted as a filesystem WARNING /var/tmp should either be symlinked to /tmp or mounted as a filesystem.

In that case , you protect your /tmp in one step , by firing the following command :-

mount -t tmpfs -o noexec,nosuid tmpfs /var/tmp/

A reboot is not required in this case and it had worked without a reboot.

You may check it without rebooting.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +