RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Update wiki network share

    Scheduled Pinned Locked Moved Ideas and Development
    wiki
    3 Posts 3 Posters 480 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.
    • R
      rossco
      last edited by

      I followed the instructions for setting up a network share to store and share roms. I ran into the issue posted at the bottom of the page where game saves don't work. I realised that the shares had root/root user/group ownership. Rather than changing the location of the saves, wouldn't it make sense to update the mount command to use pi/pi ownership? I used the following:

      sudo mount -t cifs -o username=<username>,password=<password>,nounix,noserverino,vers=1.0,uid=1000,gid=1000 //networksharedetails/roms /home/pi/RetroPie/roms
      

      Note: I have the vers=1.0 flag set because my network share requires SMBv1 - which I guess could be included in the documentation as well I suppose.

      In particular the uid=1000,gid=1000 bit sets the user and group ownership. If there is a chance that the user/group ids are different (those are the defaults for the first created user) then you can include instructions to determine what they are:

      $ id -g pi
      $ id -u pi
      

      I'm happy to update the wiki, if desired. Do we raise a PR or something?

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

        @rossco said in Update wiki network share:

        Note: I have the vers=1.0 flag set because my network share requires SMBv1 - which I guess could be included in the documentation as well I suppose.

        SMB1 is deprecated and insecure - it should not be used anymore.

        I'm happy to update the wiki, if desired. Do we raise a PR or something?

        It's a Wiki, anyone with a Github account can edit it. Any contributions are welcomed.

        H 1 Reply Last reply Reply Quote 1
        • H
          hhromic @mitu
          last edited by

          @mitu said in Update wiki network share:

          @rossco said in Update wiki network share:

          Note: I have the vers=1.0 flag set because my network share requires SMBv1 - which I guess could be included in the documentation as well I suppose.

          SMB1 is deprecated and insecure - it should not be used anymore.

          I totally second that.

          @rossco if you edit the wiki please make it VERY clear that SMBv1 is highly discouraged and should only be used as last resort. Users should not believe that is normal to use SMBv1.

          Cheers!

          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.