-
Notifications
You must be signed in to change notification settings - Fork 266
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
Creating a windows directory causes duplicate folders (New Folder(x)) to be created. #240
Comments
Same behavior here, did you tried to create a folder from Windows cmd? Something like "md folder". In my case it will return an Access denied message, but the folder is created. Trying to create a new file with "echo 'hello' > hello.txt" will return the same access denied message but in this case, the file is created empty, with no data inside. Did you try to use idmap=user, uid=-1, gid=-1 ? |
@zacaro In my registry, I had changed the following (sshfs.k) so that the permissions are set properly on the server. svc %1 %2 %U -oreconnect -oStrictHostKeyChecking=no -oPasswordAuthentication=no -oBatchMode=yes -oUserKnownHostsFile=/dev/null -oCompression=yes -oumask=000 -ocreate_umask=000 I also upgraded WinFSP to WinFsp 2021 Beta1 see if it fixed the issue but nothing. |
@zacaro I tried changing it to svc %1 %2 %U -oreconnect -oStrictHostKeyChecking=no -oPasswordAuthentication=no -oBatchMode=yes -oUserKnownHostsFile=/dev/null -oCompression=yes -oidmap=user,uid=-1,gid=-1 And still the same issue. It's very strange that I have an another desktop machine with the same versions of WinFSP+WINSSHFS+Same Windows version and settings and it doesn't have this issue at all. [Not even the 'access denied' messages when creating a directory or a new file] |
Same here, I'm experiencing this behavior on Windows Server 2012 Datacenter, but in a regular Windows 10 machine there is no issue at all, same config, same user, same RSA... weird. There must exist some differences in how Windows Server and 10 handles the permissions. I've added more info on the issue I opened here #250 |
same problem |
After reading this #347, I have impression there are currently no plans to continue actively develop this project. So I had to move on to something better. In case somebody needs sshfs/sftp implementation which just works, I suggest RClone (it is free and open source), check my answer at ServerFault for more details and how to use it: https://serverfault.com/a/1105428/393105. |
solution: winfsp/winfsp#357 (comment) |
I am using the latest SSHFS-Win 2020.1 Beta1 against windows 10 2004 (and WinFsp 2020.2 Beta2)
When I try to create a new folder on a remote drive, It doesn't ask me what folder name to create and it looks like nothing happens.
However, if I refresh the page, I see it created 4 folders.
New Folder
New Folder(2)
New Folder(3)
New Folder(4)
Any idea?
The text was updated successfully, but these errors were encountered: