[Script SH] Permission denied

Résolu/Fermé
A2l1n3 Messages postés 12 Date d'inscription vendredi 6 juillet 2007 Statut Membre Dernière intervention 14 avril 2009 - 11 juil. 2007 à 13:39
A2l1n3 Messages postés 12 Date d'inscription vendredi 6 juillet 2007 Statut Membre Dernière intervention 14 avril 2009 - 11 juil. 2007 à 16:28
#~ Vod

rrdtool fetch /u0/www/htdocs/cacti/rra/vodstream1abv1_nbstreams_2126.rrd MAX -s -604800 -e -1800 > vodstream1abv1_nbstreams_2126.txt
rrdtool fetch /u0/www/htdocs/cacti/rra/vodstream2abv1_nbstreams_2135.rrd MAX -s -604800 -e -1800 > vodstream2abv1_nbstreams_2135.txt
rrdtool fetch /u0/www/htdocs/cacti/rra/vodstream3abv1_nbstreams_2132.rrd MAX -s -604800 -e -1800 > vodstream1abv1_nbstreams_2132.txt
rrdtool fetch /u0/www/htdocs/cacti/rra/vodstream4abv1_nbstreams_2129.rrd MAX -s -604800 -e -1800 > vodstream1abv1_nbstreams_2129.txt
rrdtool fetch /u0/www/htdocs/cacti/rra/vodstream1lyo1_nbstreams_2137.rrd MAX -s -604800 -e -1800 > vodstream1abv1_nbstreams_2137.txt
...

Quand je lance "./extraction.sh" on me dit : "-bash: ./extraction.sh: Permission denied"
Je suis pourtant connectée en root...

4 réponses

dubcek Messages postés 18718 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 5 615
11 juil. 2007 à 16:06
chmod u+x extraction.sh
3
dubcek Messages postés 18718 Date d'inscription lundi 15 janvier 2007 Statut Contributeur Dernière intervention 22 mars 2024 5 615
11 juil. 2007 à 15:21
Ca dépend avec quels droits est monté u0. Que retourne la commande mount ?
que dit ls -l extraction.sh
0
A2l1n3 Messages postés 12 Date d'inscription vendredi 6 juillet 2007 Statut Membre Dernière intervention 14 avril 2009 8
11 juil. 2007 à 15:52
mount :
/dev/sda5 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda6 on /boot type ext2 (rw)
/dev/sda7 on /usr type ext2 (rw)
/dev/sda8 on /var type ext2 (rw)
/dev/sda9 on /tmp type ext2 (rw)
/dev/sda10 on /u0 type ext2 (rw)


ls -l extraction.sh : -rw-r--r-- 1 root root 29158 Jul 11 11:24 extraction.sh
0
A2l1n3 Messages postés 12 Date d'inscription vendredi 6 juillet 2007 Statut Membre Dernière intervention 14 avril 2009 8
11 juil. 2007 à 16:28
Arf merci..........
0