winfsp / sshfs-win

SSHFS For Windows
https://winfsp.dev
Other
5.2k stars 265 forks source link

no modify permissions / zero space warnings on mapped drives #128

Open hyei opened 4 years ago

hyei commented 4 years ago

I am using bitvise ssh server in conjunction with winfsp 2019.3 B4 and win-sshfs 3.5 beta. Windows 2016 Using windows file explorer, I often get no free space warnings when I attempt to copy files into the mapped drive, but a direct command line copy always works fine.

I am mapping the drive with "net use S: \sshfs\user@sftpserver.domain.com!22022" as well as using the Windows MAP drive GUI with the same results.

It doesn't look like any user permissions for the file within the mapped drive has modify priviledges? Is it possible to add this permission somehow?

billziss-gh commented 4 years ago

Using windows file explorer, I often get no free space warnings when I attempt to copy files into the mapped drive, but a direct command line copy always works fine.

What is the exact error you are seeing?

It doesn't look like any user permissions for the file within the mapped drive has modify priviledges? Is it possible to add this permission somehow?

You can force the permissions by using the -o umask=NNN command line option. However a better approach would be to change the file permissions on the SSH server.

addog commented 4 years ago

@billziss-gh I have the same problem.

My server: Windows server 2016 or 2019 Using bitvise ssh server

My client: Windows 10 With sshfs-win i cant upload files, but i can still download files. With winscp i can upload and download

image

billziss-gh commented 4 years ago

@addog please see my answer to your issue, where I note that your drive is listed as having only 64KB.