Skip to content
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

Copying directory tree with ONLY readonly files does not succeed #185

Open
2 of 5 tasks
bruKeba opened this issue Jan 10, 2019 · 0 comments
Open
2 of 5 tasks

Copying directory tree with ONLY readonly files does not succeed #185

bruKeba opened this issue Jan 10, 2019 · 0 comments

Comments

@bruKeba
Copy link

bruKeba commented Jan 10, 2019

Technical data

WinSshFS

  • [] stable
  • prerelease
  • custom build (only made changes on passing arguments on startup, automatic mounting on startup)
  • Version: 1.6.1.18

Dokan driver

  • stable
  • prerelease
  • custom build
  • Version: Dokany 1.0.5.1000

Enviroment

  • Windows version: 7 Enterprise, SP1
  • Architecture: x64 / Intel i7
  • Related software: robocopy

Support

  • Usage: commercial - testing
  • Your personal priority to solve this issue: high
  • Support ability: testing, reproducing, analyzing

Due to debian security updates ( version 8.10 to 9.5) I had to switch to this new version of WinSshFs (the previous version could not connect to Debian 9.5). The former version was using Renci.SshNet and DokanNet, with that version the following robocopy command was executing without troubles.

The current version connects to our Debian system without problems.
We copy folders and files from readonly directories and files (source code management) to the Debian system using this robocopy command:

robocopy /S /E /A-:R /R:10 /W:5 d:\readonlyDir L:\winsshfsMountedDir

The argument /A-:R does remove the readonly attribute from the copied files.
In the previous WinSshFs version this was performing fine.

In the current version we experience the following behaviour:

  • The directories will be created (even subdirectories)
  • None of the files will be copied; robocopy error 87 (0x00000057) Wrong parameter.

BUT:
If I remove the readonly attribute of the FIRST file to be copied (before starting the robocopy command), ALL files will be copied without any problems (although they still have the readonly attribute set).

Any help on this strange issue is appreciated!
Thanks!
Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant