[Script SH] Permission denied

Résolu
#~ 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...
Configuration: Windows XP
Firefox 2.0.0.4

4 réponses

  1. Contributeur
    chmod u+x extraction.sh
    3
    1. Contributeur
      Ca dépend avec quels droits est monté u0. Que retourne la commande mount ?
      que dit ls -l extraction.sh
      0
      1. 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