leukozyt
30-10-2003, 11:30
Hi Leute,
ich mache grade meine ersten Schritte mit C.
Jetzt habe ich aber folgendes Problem:
$ cat hallo.c
#include <stdio.h>
int main(void)
{
printf("Ein Hallo an alle!\n\n");
return 0;
}
$ gcc -Wall -ggdb hallo.c -o hallo
$ ./hallo
bash: ./hallo: Permission denied
$ ls -l
-rwxr-xr-x 1 root root 10839 Oct 30 13:24 hallo
-rwxrwxrwx 1 root root 86 Oct 30 13:18 hallo.c
Was ist da Faul ?
MfG
Leukozyt
ich mache grade meine ersten Schritte mit C.
Jetzt habe ich aber folgendes Problem:
$ cat hallo.c
#include <stdio.h>
int main(void)
{
printf("Ein Hallo an alle!\n\n");
return 0;
}
$ gcc -Wall -ggdb hallo.c -o hallo
$ ./hallo
bash: ./hallo: Permission denied
$ ls -l
-rwxr-xr-x 1 root root 10839 Oct 30 13:24 hallo
-rwxrwxrwx 1 root root 86 Oct 30 13:18 hallo.c
Was ist da Faul ?
MfG
Leukozyt