rustic_core
rustic_core copied to clipboard
`canonicalizing path failed` when backing-up a mounted path by dokan or winfsp
C:\gocryptfs is a NTFS mounted path, by cppcryptfs with dokan.
> rustic -P config backup C:\gocryptfs\data
[INFO] using config C:\config.toml
[INFO] repository C:\restic-repo: password is correct.
[INFO] using cache at C:\Users\Legion\AppData\Local\rustic\e5e8b63342b9d4ad2db6cd90683754ee887d28d74a6b806f26763c6b2edaf015
[00:00:00] reading index... ████████████████████████████████████████ 43/43
error: canonicalizing path failed: `Os { code: 2, kind: NotFound, message: "系统找不到指定的文件。" }`
Likely a issue of dunce, which is used to canonicalize non-UNC path on Windows.
It is likely a issue of the standard library since std::fs::canonicalize also failed to process such a mounted path.