Re: probleme d'execution de scripts perl
Le 13/02/2010 19:33, Nicolas KOWALSKI a écrit :
l3w0rM<webmaster@worm-fr.com> writes:
perl est bien là où l'entête du fichier l'indique (/usr/bin/perl)?
oui
La partition est bien montée en éxécutable possible?
oui
strace /chemin/vers/le/script donne quoi ?
execve("./awstats.pl", ["./awstats.pl", "pl"], [/* 17 vars */]) = -1
EACCES (Permission denied)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fd5000
_llseek(3, 0, 0xbf84e6cc, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n"..., 32strace: exec:
Permission denied
) = 32
close(3) = 0
munmap(0xb7fd5000, 4096) = 0
exit_group(1) = ?
Reply to: