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

    Permission denied error copying some files from Windows

    Scheduled Pinned Locked Moved Help and Support
    deniedsamba
    4 Posts 2 Posters 633 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.
    • L
      luckyluca
      last edited by

      I'm getting a permission denied error copying from Windows to Retropie via Samba.
      When copying it says that destination already exist and when replacing the destination file remains at 0bytes. And Windows throws a permission denied error.

      Please note the permission denied error on Windows 10 appears to only happen on files that were initially created on a different retropie build such as .sh and rom files.

      In fact, all other files copy successfully. It's just files stored on my ntfs HDD which were previously coming from a different build that error.

      This is a clean up to date build to which I've added stress stressberry and zip packages only.
      Samba and conf is setup correctly.

      Is this something that I could fix within Windows 10? I believe this might be solvable within Windows10. Any ideas?
      Thanks

      mituM 1 Reply Last reply Reply Quote 0
      • L
        luckyluca
        last edited by

        Here's a screenshot illustrating a copy of two files to a Raspberrry Pi over Samba.

        A file that does not copy, originally coming from a RaspberryPi, called Benchmark.txt
        and a similar text file I created on Windows Benchmark2.txt which copies just fine. They have the exact same security settings, according to Windows.

        Capture.JPG

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

          @luckyluca said in Permission denied error copying some files from Windows:

          This is a clean up to date build to which I've added stress stressberry and zip packages only.
          Samba and conf is setup correctly.

          You're using a 3rd party image, from the screenshots you posted. We don't know how it's configured and if the problem might be caused by its configuration or not, but we don't support 3rd party images, as outlined in https://retropie.org.uk/forum/topic/3/read-this-first. Use the image from retropie.org.uk/download and see if you get the same problem.

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

            @mitu
            No, it's not related to the build, it happens with vanilla retropie and vanilla raspberry os too.
            One ugly workaround I found is copying the files to a fat32 system and back to ntfs on my Windows PC before copying them over via Samba.
            The intermediary fat32 step gets rid of any permission issue they have.

            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.