PowerShell / PowerShell/Win32-OpenSSH
Strange behavior in "explorer.exe -> wsl2 -> sshfs -> win10 openssh server" setting
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
"OpenSSH for Windows" version
8.1.0.1
Server OperatingSystem
Windows 10 Pro (Build 21322)
Client OperatingSystem
Windows 10 Pro (Build 21322)
What is failing
It is possible to open files in Explorer, but it is not possible to copy or create files.
Reproduce Steps
- Open Windows 10 OpenSSH Server
- mount sshfs on WSL2.
sudo sshfs -o reconnect,allow_other,follow_symlinks,ServerAliveInterval=15,ServerAliveCountMax=3 hided62@192.168.0.60: /mnt/x - Open mounted directory with explorer
cd /mnt/x && explorer.exe . - Trying several file operations
Expected output
Create, copy, modify, delete works well
Actual output
Fails with error 0x80070032
- Create txt file: Error (0x80070032)
- Copy (Out -> SSHFS): Sometimes works.
- Copy (SSHFS -> Out): Error (0x80070032)
- Delete any file: works.
- Modify txt file on notepad: works.
However, everything works fine within WSL2 shell.
For non-Windows 10 OpenSSH Server, it worked fine in Windows Explorer as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by mounting the Windows 10 OpenSSH server in WSL2 with the listed sshfs command, then opening /mnt/x in Explorer. Compare create, copy, modify, and delete operations with the same operations in the WSL2 shell, focusing on error 0x80070032. Done means Explorer can create and copy files on the mounted directory as described in the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100