-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to move files in volume directory in Windows docker container #1058
Comments
What permissions do you have on the folder? I was running into the same issue until I gave Modify access to the Authenticated Users principal. |
Hi, I use default permissions for everything, dockerd service is running under LocalSystem account, this folder was created under the |
I'll be first to admit I'm not a Windows security/system expert, so maybe using Since the folder was created by your When I was running into the same issue, I could make files and folders within the mounted volume. So it was weird that moving/renaming files was forbidden. But again I'm not an expert on how that's handled in Windows. Maybe someone with more knowledge in that regard can chime in. I wasn't able to find anything around permissions for mounting volumes in a Windows container either. I just know relaxing the permissions on my folder solved the issue for me. I just chose |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/lifecycle frozen |
I have the same problem with stable version. |
I don't know if it's the same issue but I had a similar problem with Docker for Windows 19.03.1 on Windows 10 1903. I could create/edit/delete files in a volume but I could not rename or move the file, it gave the error "DirectoryNotFound". The same operation was possible outside the volume. I recreated the container and the issue was gone, I'm not sure how to reproduce |
Also similar issue for me, but in my case I had the File Server Resource Manager (Windows Feature) installed on the Windows Server host which caused problem to move files in a volume within a container. I had to uninstall the mentioned feature to make it work again. |
Related issue: moby/moby#38256 |
hi have any news? |
Expected behavior
File move succeeds.
Actual behavior
File move fails with
Access is denied.
Information
Diagnostic ID : F74EE66C-752F-4676-B9C3-2D44D291D24C/2017-09-01_19-21-39
Dockerfile:
Steps to reproduce the behavior
microsoft/nanoserver
/microsoft/windowsservercore
with volumedocker run -it -v C:\Users\User\Documents\volume:c:/volume volume-nanoserver powershell
In non volume directory move succeeds.
The text was updated successfully, but these errors were encountered: