Can you un mount /tmp while live?
Hi, I need to un mount the /tmp folder for a server tweak I need to do.
Can I do this while the server is live?
Or alternatively can I run this without crashing the server?
mount -o remount,exec /tmp
Than change it back
mount -o remount,noexec /tmp
Thanks!
-
Hi, This is not recommended and will definitely cause problems for MySql / MariaDB as well the sites writing temp session files to /tmp folder. 0 -
Hello, Granting exec permissions to the /tmp partition shouldn't prevent any services from working. It simply makes the /tmp partition less secure for the duration it's mounted without the noexec option. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments