Re: [SCRIPT] probleme: mon script marche plus...
Comput unicum 1113148737 (Sun, 10 Apr 2005 17:58:57 +0200),
mailing-list a écrit :
>
> Le dimanche 10 avril 2005 à 17:42 +0200, Francois@mescam.org a écrit :
> > Le Sun, Apr 10, 2005 à 05:05:22PM +0200, mailing-list a écrit
> > > Voilà,
> > > il me dit bad interpreter...
> >
> > Qui est il ?
> bah sh
> >
> > >
> > > #!/bin/sh
> > > : bad interpreter: Aucun fichier ou répertoire de ce type
> >
> > Quel est le contexte ? Que donne 'ls -l /bin/sh' dans le même contexte
> > ?
> c'est un lien vers bash :S
> mais si je le #!/bin/bash il me fais la meme erreur
> -rwxr-xr-x 1 root root 756K 2005-01-13 22:43 bash*
> lrwxrwxrwx 1 root root 4 2005-04-09 22:05 sh -> bash*
Ton script ne serait-il pas sur une partition qui interdit l'exécution ?
(option noexec de mount -> ajouter l'option exec)
--
Sylvain Sauvage
Reply to: