Permission denied error copying some files from Windows
-
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 -
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. -
@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.
-
@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.
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.