noexec mount option

Erik Postma epostma at nl.tue.win
Tue Sep 30 01:10:33 PDT 2003


On Tue, 30 Sep 2003 02:54:54 -0500, Archaic <archaic at indy.rr.com> wrote:
> What good is this? I can't run './script' but can run 'sh script' just
> fine.

I guess it means the kernel won't exec programs on the partition. And
indeed that is the difference between the two statements: the first
tries to run a program (executable type misc, where the interpreter is
determined by the #! magic, and subsequently the interpreter is run with
the program name as parameter) on the partition, the second directly runs
/bin/sh with a parameter which happens to reference the script.

-- 
Erik Postma (Email: reverse the order of nl, tue and win.)



More information about the blfs-support mailing list