Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.sys.mac.programmation > #2457

Re: Script shell ?

From Brice <truc@bidule.fr.invalid>
Newsgroups fr.comp.sys.mac.programmation
Subject Re: Script shell ?
Date 2023-02-21 10:52 +0000
Organization A noiseless patient Spider
Message-ID <tt27op$14327$2@dont-email.me> (permalink)
References (4 earlier) <tsvdkq$nb6v$1@dont-email.me> <tsvk36$jrc$1@shakotay.alphanet.ch> <tt0fl5$rbe5$1@dont-email.me> <tt1ute$13374$1@dont-email.me> <tt1vuc$13718$1@dont-email.me>

Show all headers | View raw


le 21 février 2023 à 09:38, M.V. a écrit :


> Plus simple :
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
> #!/bin/sh
>  
> open "path_to_appli"
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>
> Là aussi, il faut remplacer path_to_appli par le chemin complet de
> l'applet qui éjectera les volumes que tu souhaites et là aussi, garder
> les guillemets autour du chemin complet de l'applet (on peut aussi
> utiliser ' à la place de " mais c'est anecdotique).
>
> Dernière chose :
> Pour vérifier que le script shell fonctionne, ouvrir le Terminal, faire
> glisser le fichier ejecter_volumes.sh dessus et presser la touche Entrée.

J'ai testé comme tu me le demandes, voici la réponse du Terminal.
+++++++++++++++++++++++
brice@iMac5K ~ % /Library/Application\
Support/com.bombich.ccc/Scripts/Ejection_disque-04.sh
zsh: permission denied: /Library/Application
Support/com.bombich.ccc/Scripts/Ejection_disque-04.sh
=======================
J'ai déplacé le fichier .sh de 
/Library/Application
Support/com.bombich.ccc/Scripts/Ejection_disque-04.sh
sur le Bureau 
+++++++++++++++++++++++
brice@iMac5K ~ % /Users/brice/Desktop/Ejection_disque-04.sh 
zsh: permission denied: /Users/brice/Desktop/Ejection_disque-04.sh
=======================
même résultat et pourtant j'ai la permission dans les 2 cas.
L'applet, quand elle utilisée toute seule ne pose aucun problème et elle
a un accès complet au disque.

Cordialement,

-- 
B. Graignic
enlever-bgraig@wanadoo.fr

Back to fr.comp.sys.mac.programmation | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-19 15:32 +0000
  Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-19 16:46 +0000
    Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-20 08:28 +0000
      Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-20 08:36 +0000
        Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-20 09:14 +0000
          Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-20 09:59 +0000
          Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-20 10:21 +0000
          Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-20 11:04 +0000
            Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-20 18:54 +0000
              Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-20 21:17 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-21 10:52 +0000
                Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-21 21:20 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 10:05 +0000
                Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-22 20:18 +0000
              Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 08:21 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 08:32 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 08:38 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-21 10:52 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 11:47 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-21 13:28 +0000
                Re: Script shell ? "M.V." <mv@gmail.invalid> - 2023-02-21 14:08 +0000
                Re: Script shell ? "M.V." <mv@gmail.invalid> - 2023-02-21 15:09 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-21 19:19 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 20:45 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 10:05 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-22 11:01 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 11:07 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-22 11:17 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 12:31 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-22 12:53 +0000
                [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 14:33 +0000
                Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-24 09:09 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 14:07 +0000
                Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.invalid> - 2023-02-24 15:12 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 15:55 +0000
                Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-24 16:32 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 17:19 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 17:52 +0000
                Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-24 18:24 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 18:52 +0000
                Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-24 18:24 +0000
                Re: [Resolu]Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-24 18:52 +0000
                [HS] Re: [Resolu]Re: Script shell ? "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-24 16:54 +0000
                Re: [HS] Re: [Resolu]Re: Script shell ? Richard Hachel <r.hachel@frite.fr> - 2023-02-24 17:03 +0000
                Re: [HS] Re: [Resolu]Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-24 18:27 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-22 11:03 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-22 11:22 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-22 08:43 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 09:07 +0000
                Re: Script shell ? "M.V." <mv@gmail.com.invalid> - 2023-02-21 09:09 +0000
                Re: Script shell ? Brice <truc@bidule.fr.invalid> - 2023-02-21 10:52 +0000

csiph-web