PowerShell / PowerShell/Win32-OpenSSH

Strange behavior in "explorer.exe -> wsl2 -> sshfs -> win10 openssh server" setting

Open
#1,742 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.