Erreur chmod au lancement de Web Platform Installers

Bonjour
En cherchant à mettre à jour constellation sur Raspbian 9, voici ce que j’obtiens.
Le fichier d’installation serait-il protégé?

Resolving developer.myconstellation.io (developer.myconstellation.io)… 212.83.143.182
Connecting to developer.myconstellation.io (developer.myconstellation.io)|212.83.143.182|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 6370 (6.2K) [application/x-sh]
Saving to: ‘install.sh’

install.sh 100%[===============================>] 6.22K --.-KB/s in 0s

2017-09-22 22:06:34 (39.2 MB/s) - ‘install.sh’ saved [6370/6370]

chmod: changing permissions of ‘install.sh’: Operation not permitted

Hello,

La fameuse commande pour lancer le WPI est en fait l’enchaînement de 3 commandes :

wget -O install.sh https://developer.myconstellation.io/download/installers/install-linux.sh && chmod +x install.sh && ./install.sh

soit :

wget -O install.sh https://developer.myconstellation.io/download/installers/install-linux.sh
chmod +x install.sh
./install.sh

D’abord on télécharge le “bootstrap” (install.sh), ensuite on rajoute le droit d’exécution sur ce fichier (chmod +x) et enfin on le lance !

Ici il semblerait que vous ne pouvez pas changer les droits du fichier ! Je pense que vous n’avez pas lancé la commande dans un répertoire autorisé pour !
En effet il faudrait toujours lancer cette commande dans le répertoire home pour pouvoir lire/écrire/exécuter n’importe quel fichier! Sur un RPI : “/home/pi” ou “cd ~/” !

Autre solution sinon, faire un “sudo chmod +x”!

A+

Merci pour cette explication détaillée.
Tout fonctionne bien.