(solved) runcommand.sh permission denied
-
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
-
@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). -
= = = = = = = = = = = = = = = = = = = = = 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
-
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.
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.