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

    Openbor - how to delete unnecessary files?

    Scheduled Pinned Locked Moved Help and Support
    openbor
    11 Posts 3 Posters 1.1k 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.
    • mituM
      mitu Global Moderator
      last edited by

      @SuperFella said in Openbor - how to delete unnecessary files?:

      (The folder has 0755 permissions, should be fine.) Anyone know how to do it?

      How are you trying to delete the files ? 0755 permissions means only the owner has write permissions on the folder.

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

        @mitu I am the owner. (It makes no difference if I set the permissions to 0777.) I'm trying to delete them via WinSCP, they don't show up in EmulationStation.

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

          @SuperFella Show a screenshot of the files and their permissions.

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

            @mitu obor.jpg obor2.jpg

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

              @SuperFella Your screenshot shows that the owner is the root user - so if you are logged in as user pi with WinSCP, it's normal that you don't have access to delete the files.

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

                @mitu So how do I fix it? How did it get to have a different owner to every other folder on the Pi?

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

                  If I hit F8 here, will it delete the Super Mario Brawl folder? I'm very wary of hitting Delete keys when I don't know what I'm doing.

                  rpfm.jpg

                  1 Reply Last reply Reply Quote 0
                  • stooS
                    stoo
                    last edited by stoo

                    I'm no expert, but I think you can get temporary root permissions by doing

                    sudo su
                    

                    and entering your password.

                    Then the following should delete all those files:

                    rm -rf /home/pi/RetroPie/roms/ports/openbor/original/*
                    

                    Then just type

                    exit
                    

                    to exist su and go back to Pi user.

                    Of course you have to SSH into your Pi or exit EmulationStation to the console. (and have a keyboard)

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

                      @SuperFella said in Openbor - how to delete unnecessary files?:

                      @mitu So how do I fix it?

                      https://retropie.org.uk/docs/FAQ/#reset-ownershippermissions-of-homepiretropie-roms

                      How did it get to have a different owner to every other folder on the Pi?

                      How did you copy the files there ?

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

                        @mitu That did the trick, thanks!

                        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.