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

    How to edit protected config files?

    Scheduled Pinned Locked Moved Help and Support
    bluemsxconfig
    4 Posts 2 Posters 516 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.
    • S
      SuperFella
      last edited by SuperFella

      I want to make a small tweak to the file /opt/retropie/libretrocores/lr-bluemsx/Machines/MSX/config.ini so that a game will work.

      Unfortunately this happens in WinSCP when I try to save the new version:

      bluemsx.jpg

      And I've fallen for the lies of that error message before - if you try to delete the file and create a new one, you just get another permission error.

      Any way round it?

      markyh444M 1 Reply Last reply Reply Quote 0
      • markyh444M
        markyh444 @SuperFella
        last edited by

        @SuperFella what permissions are you using to connect in via WinSCP? It could be it is owned by the pi user or the root user, and that's why you can't edit it, hence the error.

        Retropie in a NES - Pi 3 with Mausberry circuit shutdown switch wired to buttons and 8bitdo NesPro30 controller
        Retropie in a Saturn Controller - Pi Zero, GPIO controls using DB9 driver
        Retropie in a PSX - Pi3
        https://markyh444.wordpress.com

        1 Reply Last reply Reply Quote 0
        • S
          SuperFella
          last edited by

          Not a clue. But sudo chmod+777 config.ini in the Command window seems to have done the trick. (Or at least, I've edited the file, but the game still won't work.)

          markyh444M 1 Reply Last reply Reply Quote 0
          • markyh444M
            markyh444 @SuperFella
            last edited by

            @SuperFella well that command set read write and execute permissions to all users, so it would indeed do it!

            Retropie in a NES - Pi 3 with Mausberry circuit shutdown switch wired to buttons and 8bitdo NesPro30 controller
            Retropie in a Saturn Controller - Pi Zero, GPIO controls using DB9 driver
            Retropie in a PSX - Pi3
            https://markyh444.wordpress.com

            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.