Skip to main content

Can i safelly noexec /tmp directory?

Comments

2 comments

  • storminternet
    Run cat /proc/mtab to check if the changes saved in RAM. If you make the changes in fstab and then mount tmpfs via command then changes should be saved in disk as well or when you reboot server next time they will read from fstab.
    0
  • cPanelMichael
    Hello :) To answer the overall question, yes, it's normal to set the /tmp partition to "noexec" mode. It's configured this way by default on most systems. Thank you.
    0

Please sign in to leave a comment.