RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    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

    Need to reset permisions all the time

    Help and Support
    permission sudo video mode reset
    3
    8
    332
    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.
    • Spectreman
      Spectreman last edited by

      Almost everytime I reboot I lost permision to change the video mode in that option when you click any button while opening a game.

      I have to type the command "sudo chown -R pi:pi /opt/retropie/configs"

      It is a common issue or have a solution?

      Running on Rasp 3, lastest firmware (but I have this kind of problem in older versions too).

      Thks.

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

        @Spectreman said in Need to reset permisions all the time:

        It is a common issue or have a solution?

        It's not a common issue. Do you have any onstart/onend scripts configured for runcommand ? Any other program/script that you installed and runs on boot ?

        Please add some more details about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.

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

          @mitu

          No script. Just installed optional cores and the scraper. Running on Pi3 B, Retropie 4.6 running on Raspian GNU/Linux 9.11 (stretch).

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

            Out of the box RetroPie doesn't change / reset the permissions on the /opt/retropie/configs folder - maybe there's something else ?
            Can you reboot, then exit EmulationStaton and list the permissions on the /opt/retropie/configs/all/videomodes.cfg by running

            ls -l /opt/retropie/configs/all/videomodes.cfg
            ls -ld /opt/retropie/configs/all/
            
            Spectreman 1 Reply Last reply Reply Quote 0
            • Spectreman
              Spectreman @mitu last edited by

              @mitu

              alt text

              alt text

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

                @Spectreman The files' permissions look ok, but the folder permission no. Normally chown should change the permissions on the folder to the pi user (they show as root now).

                I don't know why the permissions are reset, there's nothing in RetroPie that resets those permissions. You can try resetting them again with

                chown -R pi:pi /opt/retropie/configs
                

                and check again the permissions, after you've run the command and then right after a restart.

                1 Reply Last reply Reply Quote 0
                • BuZz
                  BuZz administrators last edited by BuZz

                  There was a bug in the Bluetooth background connect mode that broke directory permissions in a similar way. It's fixed a while ago but maybe you have that enabled and haven't updated RetroPie-Setup. It shouldn't be enabled anyway in most cases. It was a workaround for an issue in older Raspbian.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  Spectreman 1 Reply Last reply Reply Quote 2
                  • Spectreman
                    Spectreman @BuZz last edited by

                    @BuZz

                    Yes. It was that. Changed back the bluetooth connect mode to default and is solved. It was in background mode because my SNES30 joystick was temperamental about connecting with Retropie.

                    I did an update from the the old Retropie version rather than a new install. And maybe because that the bug still present.

                    Thanks a lot.

                    1 Reply Last reply Reply Quote 1
                    • 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.