Posted By

kayue on 12/31/10


Tagged


Versions (?)

Mount


 / Published in: Bash
 

  1. # See what is on
  2. mount
  3.  
  4. # /var/tmp and /tmp are mounted as non-executable as a security measure.
  5. # Many compilers require the use of them to store temporary files and thus
  6. # you have to do something like the following in order to do so:
  7. mount -o,remount,rw,exec /var/tmp
  8.  
  9. # Then when you're finished:
  10. mount -o,remount,rw,noexec /var/tmp

Report this snippet  

You need to login to post a comment.