PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : bash: ./hallo: Permission denied



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

leukozyt
30-10-2003, 11:40
Ups, ich habe den Fehler gefunden.

$ mount
...
/dev/hda6 on /home type ext3 (rw,noexec,nodev)
...

Es funzt jetzt.
Sorry für dieses Schreiben.

MfG
Leukozyt