[rust-dev] executing error

Mic mictadlo at gmail.com
Fri Apr 6 06:53:48 PDT 2012


Hello,
I am getting by executing the bellow code with Permission denied

fn main() {
        for i in [1, 2, 3] {
                io::println(#fmt("hello %d\n", i));
        }
}

$ rustc hello.rs
$ ./hello
bash: ./hello: Permission denied
$ ls -ahl
total 44K
drwx------  2 mictadlo mictadlo 4.0K Apr  6 23:49 .
drwx------ 27 mictadlo mictadlo 8.0K Apr  6 23:43 ..
-rw-r--r--  1 mictadlo mictadlo  14K Apr  6 23:49 hello

What did I do wrong?

Thank you in advance.

Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20120406/55bce4d4/attachment.html>


More information about the Rust-dev mailing list