RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    (solved) runcommand.sh permission denied

    Scheduled Pinned Locked Moved Help and Support
    runcommand.sh
    4 Posts 2 Posters 972 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DTEAMD
      DTEAM
      last edited by DTEAM

      Hi @mitu ,
      I was not able to update Retropie Script (script module issue) so I decided to get and install the one on GitHub .
      Now, the update worked perfectly but now I can't load any games. I have this message.

      sh: 1:  /opt/retropie/supplementary/runcommand/runcommand.sh: Permission denied
      

      the file accessibility is 644 (-rw-r--r--)

      Do you have a solution for that

      Thanks

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @DTEAM
        last edited by

        @dteam said in runcommand.sh permission denied:

        the file accessibility is 644 (-rw-r--r--)

        The file's attributes are wrong, it's not executable.

        Do you have a solution for that

        Post a log of the update from $HOME/RetroPie-Setup/logs and some details about your setup ( https://retropie.org.uk/forum/topic/3/read-this-first).

        DTEAMD 1 Reply Last reply Reply Quote 0
        • DTEAMD
          DTEAM @mitu
          last edited by DTEAM

          @mitu

          = = = = = = = = = = = = = = = = = = = = =
          Configuring 'retropiemenu' : RetroPie configuration menu for EmulationStation
          = = = = = = = = = = = = = = = = = = = = =
          
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/audiosettings.png' -> '/home/pi/RetroPie/retropiemenu/icons/audiosettings.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/bluetooth.png' -> '/home/pi/RetroPie/retropiemenu/icons/bluetooth.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/configedit.png' -> '/home/pi/RetroPie/retropiemenu/icons/configedit.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/esthemes.png' -> '/home/pi/RetroPie/retropiemenu/icons/esthemes.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/filemanager.png' -> '/home/pi/RetroPie/retropiemenu/icons/filemanager.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/raspiconfig.png' -> '/home/pi/RetroPie/retropiemenu/icons/raspiconfig.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/retroarch.png' -> '/home/pi/RetroPie/retropiemenu/icons/retroarch.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/retronetplay.png' -> '/home/pi/RetroPie/retropiemenu/icons/retronetplay.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/rpsetup.png' -> '/home/pi/RetroPie/retropiemenu/icons/rpsetup.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/runcommand.png' -> '/home/pi/RetroPie/retropiemenu/icons/runcommand.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/showip.png' -> '/home/pi/RetroPie/retropiemenu/icons/showip.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/splashscreen.png' -> '/home/pi/RetroPie/retropiemenu/icons/splashscreen.png'
          '/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu/icons/wifi.png' -> '/home/pi/RetroPie/retropiemenu/icons/wifi.png'
          /home/pi
          
          = = = = = = = = = = = = = = = = = = = = =
          Checking for updates for runcommand
          = = = = = = = = = = = = = = = = = = = = =
          
          Update is available - updating ...
          
          = = = = = = = = = = = = = = = = = = = = =
          Installing dependencies for 'runcommand' : The 'runcommand' launch script - needed for launching the emulators from the frontend
          = = = = = = = = = = = = = = = = = = = = =
          
          
          = = = = = = = = = = = = = = = = = = = = =
          Installing (binary) 'runcommand' : The 'runcommand' launch script - needed for launching the emulators from the frontend
          = = = = = = = = = = = = = = = = = = = = =
          
          
          = = = = = = = = = = = = = = = = = = = = =
          Checking for updates for mesa-drm
          = = = = = = = = = = = = = = = = = = = = =
          
          No update was found.
          
          = = = = = = = = = = = = = = = = = = = = =
          Checking for updates for joy2key
          = = = = = = = = = = = = = = = = = = = = =
          
          Update is available - updating ...
          
          = = = = = = = = = = = = = = = = = = = = =
          Installing dependencies for 'joy2key' : Provides joystick to keyboard conversion for navigation of RetroPie dialog menus
          = = = = = = = = = = = = = = = = = = = = =
          
          
          = = = = = = = = = = = = = = = = = = = = =
          Installing (binary) 'joy2key' : Provides joystick to keyboard conversion for navigation of RetroPie dialog menus
          = = = = = = = = = = = = = = = = = = = = =
          
          Compiling '/opt/retropie/admin/joy2key/joy2key.py'...
          Compiling '/opt/retropie/admin/joy2key/joy2key_sdl.py'...
          Compiling '/opt/retropie/admin/joy2key/osk.py'...
          
          Log ended at: Fri  4 Feb 14:49:02 GMT 2022
          Total running time: 0 hours, 0 mins, 18 secs
          

          my setup is normal. I got the original image from retropie. Add some extra scripts with the time, but not more than that.

          I tried that but not permited

          pi@retropie:~ $ chmod -R 777 /opt/retropie/supplementary/runcommand/runcommand.sh
          chmod: changing permissions of '/opt/retropie/supplementary/runcommand/runcommand.sh': Operation not permitted
          

          In my supplementary folder, everything are set 755 excepted runcommandd.sh = 644

          DTEAMD 1 Reply Last reply Reply Quote 0
          • DTEAMD
            DTEAM @DTEAM
            last edited by DTEAM

            @dteam

            Solved.

            I deleted the runcommand.sh file with "file manager" in

            /opt/retropie/supplementary/runcommand/runcommand.sh
            

            I changed the permission from 644 to 755 for

            /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh
            

            The second runcommand.sh in Home folder is changeable.

            I went back in "RetroPie Setup" and run "update script" and now everything is fine. It copied from home folder to opt folder.
            I got the files from joolswills
            I don't know why it was set 644.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.