Rechercher : dans
Par :

[Script SH] Permission denied

Dernière réponse le 11 jui 2007 à 16:28:47 A2l1n3, le 11 jui 2007 à 13:39:50 
 Signaler ce message aux modérateurs

#~ 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

Meilleures réponses pour « [Script SH] Permission denied » dans :
Guide d'utilisation du Shell pour débutant VoirSHELL BASH - GUIDE D'UTILISATION - Niveau Débutant Introduction Appel aux membres CCM II. C'est quoi le shell ? III. Comment accéder à la ligne de commande IV. Les consoles virtuelles Exemple : Accéder à la console 3 depuis l'interface...

1

dubcek, le 11 jui 2007 à 15:21:19

Ca dépend avec quels droits est monté u0. Que retourne la commande mount ?
que dit ls -l extraction.sh

Répondre à dubcek

2

A2l1n3, le 11 jui 2007 à 15:52:54

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

Répondre à A2l1n3

3

dubcek, le 11 jui 2007 à 16:06:52

Chmod u+x extraction.sh

Répondre à dubcek

4

 A2l1n3, le 11 jui 2007 à 16:28:47

Arf merci..........

Répondre à A2l1n3
Collection CommentÇaMarche.net