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.)
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to