cryptomator / dokany-nio-adapter

Dokany-based adapter to provide directory contents specified by a java.nio.file.Path (via dokan-java)
GNU Affero General Public License v3.0
14 stars 4 forks source link

Windows tool XCOPY: File metadata preservation issue #42

Open infeo opened 4 years ago

infeo commented 4 years ago

System Setup

OS: Windows 10 Pro N 2004 Adapter-Version: 1.1.15 Dokany: 1.4.0

Description

When copying files to the vault with the Windows tool xcopy, it seems that some metadata is not copied along. This holds only for certain file types (e.g. .txt or .msi) while others ( .jpg, .pdf) are not affected.

Steps to reproduce

  1. Mirror a directory to a mountpoint (e.g. E:).
  2. Create a temporary-folder with some example data
  3. Use a Windows Command prompt to run: XCOPY temporary-folder E:\Test /E /D /I /Y /V
  4. Run the same command a second time: XCOPY temporary-folder E:\Test /E /D /I /Y /V

Expected result

The second time no file is copied

Actual result

Some files are copied again.