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

Usbromservice changed all the rom folders to root permissions

Scheduled Pinned Locked Moved Help and Support
usbromservicepermission deniroot
7 Posts 3 Posters 921 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
    SgtJimmyRustles
    last edited by 29 Aug 2020, 20:48

    I've been having a hard time getting everything working, and I thought I had finally got it fully working with a good microSD Card, formatted the HDD that I want roms to run off of as FAT32, but now the roms folders while working with Retropie, have only root permissions, preventing me from using the resetromdir in RetroPie Setup, or even signing in as root and using a chown -R.

    Pi Model or other hardware: 4b
    Power Supply used: official RPI USB type C power supply
    RetroPie Version Used: 4.6
    Built From: Raspberry Pi Imager
    USB Devices connected: Samsung 840 Evo SSD via the nespi4 case
    Error messages received: Permission denied when trying to transfer roms via SMB share. All folders show as root.
    Guide used: (Mention if you followed a guide): USBRomservice guide on the official documentation.

    Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
    http://www.reddit.com/r/sbcgaming

    Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
    https://discord.gg/JdXc6nx

    Check out our Podcast!

    1 Reply Last reply Reply Quote 0
    • S
      SgtJimmyRustles
      last edited by 29 Aug 2020, 23:56

      Errors when I try a sudo chown -R pi:pi /home/pi

      chown: changing ownership of '/home/pi/RetroPie': Operation not permitted

      Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
      http://www.reddit.com/r/sbcgaming

      Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
      https://discord.gg/JdXc6nx

      Check out our Podcast!

      C 1 Reply Last reply 31 Aug 2020, 11:37 Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 30 Aug 2020, 04:31

        Did you use the automated method or you added your own /etc/fstab/autostart.sh entries ?

        S 1 Reply Last reply 30 Aug 2020, 04:38 Reply Quote 0
        • S
          SgtJimmyRustles @mitu
          last edited by 30 Aug 2020, 04:38

          @mitu Automated method. I created the retropie-mount folder

          Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
          http://www.reddit.com/r/sbcgaming

          Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
          https://discord.gg/JdXc6nx

          Check out our Podcast!

          1 Reply Last reply Reply Quote 0
          • M
            mitu Global Moderator
            last edited by 30 Aug 2020, 04:58

            Can you post the output of the mount command ?

            1 Reply Last reply Reply Quote 0
            • S
              SgtJimmyRustles
              last edited by 30 Aug 2020, 17:30

              I reformatted the SD Card, and don't seem to have the issue at the moment, but here's the output just in case:

              /dev/mmcblk0p2 on / type ext4 (rw,noatime)
              devtmpfs on /dev type devtmpfs (rw,relatime,size=1867780k,nr_inodes=117763,mode=755)
              sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
              proc on /proc type proc (rw,relatime)
              securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
              tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
              devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
              tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
              tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
              tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
              cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
              cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
              bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
              cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
              cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
              cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
              cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
              cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
              cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
              cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
              cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
              systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
              sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
              debugfs on /sys/kernel/debug type debugfs (rw,relatime)
              mqueue on /dev/mqueue type mqueue (rw,relatime)
              configfs on /sys/kernel/config type configfs (rw,relatime)
              /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
              /dev/sda1 on /media/usb0 type vfat (rw,nodev,noexec,noatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
              /dev/sda1 on /home/pi/RetroPie type vfat (rw,nodev,noexec,noatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
              tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=399972k,mode=700,uid=1000,gid=1000)

              Note: I also did this fix

              https://www.reddit.com/r/RetroPie/comments/i9f45b/retroflag_nespi_4_ssd_boot_slowness_and_workaround/

              Check out /r/SBCGaming for Retropie, Recalbox, OGST (Odroid) talk and more!
              http://www.reddit.com/r/sbcgaming

              Hop on the Dicscord as well and chat about all things Retropie (or recalbox, lakka, etc)
              https://discord.gg/JdXc6nx

              Check out our Podcast!

              1 Reply Last reply Reply Quote 0
              • C
                Clyde @SgtJimmyRustles
                last edited by 31 Aug 2020, 11:37

                @SgtJimmyRustles said in Usbromservice changed all the rom folders to root permissions:

                Errors when I try a sudo chown -R pi:pi /home/pi

                chown: changing ownership of '/home/pi/RetroPie': Operation not permitted

                Just a little explanation for this: FAT32 (vfat in Linux) is a Windows file system that doesn't support Linux file permissions and ownerships. Those are determined by the mount options (here: uid=1000,gid=1000,fmask=0022,dmask=0022) and are immutable by commands like chmod or chown. Thus, the above error message ist normal behaviour for a vfat mount.

                1 Reply Last reply Reply Quote 0
                6 out of 7
                • First post
                  6/7
                  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.

                  This community forum collects and processes your personal information.
                  consent.not_received