sshfs-win
sshfs-win copied to clipboard
Destination folder access denied
I have installed
- sshfs-win-3.5.20357-x64.msi
- winfsp-1.9.21096.msi
Then mount sshfs "Map network drive"

Mount is success, I can read file, but can not write or create file.

Used "Get-Acl"
PS Z:\> Get-Acl
Directory:
Path Owner Access
---- ----- ------
Z:\ NT AUTHORITY\SYSTEM Everyone Allow ReadAndExecute, Synchronize...
If I change owner

But I can write or create file from other PC (Using same version of software, and using same way to mount)

C:\Windows\system32>"C:\Program Files (x86)\WinFsp\bin\fsptool-x64.exe" perm Y:\
O:SYG:SYD:P(A;;0x1f01b9;;;SY)(A;;0x1200a9;;;SY)(A;;0x1200a9;;;WD) (perm=18:18:0555)
C:\Windows\system32>"C:\Program Files (x86)\WinFsp\bin\fsptool-x64.exe" id 18
S-1-5-18(NT AUTHORITY\SYSTEM) (uid=18)
#27
I have exactly the same problem.
I am logged in as root (\\sshfs.r\root@<ip>) and have the necessary rights to create files. Deleting files or folders works, but not creating a new file or folder. I can't even access the root folder under: /root.
When I use FileZilla everything works fine.
I'm using Ubuntu 20.04 server. And in the sshd_config I use:
PermitRootLogin yes
I would be very happy if I could get the whole thing to run under Windows and it's very nice that it is integrated into Windows File Explorer because i don't like extra programs.
Thanks and contact me.
Same problem. I am in a company network, and using Hyper-v(ubuntu 20.04) as my linux server.