[rust-dev] executing error

mbrubeck mbrubeck at mozilla.com
Fri Apr 6 14:08:28 PDT 2012


On 04/06/2012 02:00 PM, Mic wrote:
> $ umask
> 0022
> $ chmod +x hello
> $ ./hello
> bash: ./hello: Permission denied
> $ ls -ahl
> total 32K
> drwx------  2 mictadlo mictadlo 4.0K Apr  6 23:54 .
> drwx------ 27 mictadlo mictadlo 8.0K Jan  1  1970 ..
> -rw-r--r--  1 mictadlo mictadlo  14K Apr  6 23:49 hello
> -rw-r--r--  1 mictadlo mictadlo   77 Apr  6 23:46 hello.rs 
> <http://hello.rs>

For some reason the execute byte is still not set on the "hello" 
binary.  Is it possible you are working within a filesystem that is 
mounted with the "noexec" option?  (You can check this by running 
"mount" looking for "noexec" in the output.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120406/cc7ccd6b/attachment.html>


More information about the Rust-dev mailing list