Permission denied in console


I’m trying to set up an audio twitterbot, as in this example: . This solution is using TiMidity to handle getting the audio into the right format. I opened the console, got [TiMidity] ( and got through the first two steps of the simple install. On the final step, make install, I get this:

make[2]: Entering directory '/app/TiMidity++-2.13.0/timidity'
/bin/bash ../autoconf/mkinstalldirs /usr/local/bin
  /usr/bin/install -c timidity /usr/local/bin/timidity
/usr/bin/install: cannot create regular file '/usr/local/bin/timidity': Permission denied
Makefile:573: recipe for target 'install-binPROGRAMS' failed
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory '/app/TiMidity++-2.13.0/timidity'
Makefile:810: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/app/TiMidity++-2.13.0/timidity'
Makefile:355: recipe for target 'install-recursive' failed

So I wondered how I’d go about sorting out that permission? I’ve seen this q, 1674 (I’m not allowed to add the link, sorry) but the solution there doesn’t seem to be the right kind of thing here…?

Many thanks

The issue here is that the installer wants to write to /usr/local/bin, and we don’t give you permission to write to that folder. If you can get that script to build into /app instead (usually you can), then it will work.

ah, cool. Ok. I’ll give that a shot! Many thanks.