I plan to use this line in /etc/fstab
on Ubuntu a 14.04 server running LAMP:
/run/shm/tmp tmpfs nosuid,nodev,noexec,size=8G 0 0
My question is, does anyone know if I will create problems by mounting /tmp
with nosuid
and noexec
?
Edited Jan-31-2015: The answer referred to above in "Best way to mount /tmp in fstab?" does not answer my question about what problems might occur if I mount /tmp with nosuid and noexec. It simply mentions that its not necessary to do so, and that something "might" break if I use those options.
The answer below, by aFoP and muru does answer my question by enumerating what will fail, and how to work around the problem.
Thanks aFoP and muru!