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

canonicalizing path failed when backing-up a mounted path by dokan or winfsp #242

Open
9-2-1 opened this issue Aug 18, 2024 · 1 comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR

Comments

@9-2-1
Copy link

9-2-1 commented Aug 18, 2024

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.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Aug 18, 2024
@9-2-1
Copy link
Author

9-2-1 commented Aug 18, 2024

It is likely a issue of the standard library since std::fs::canonicalize also failed to process such a mounted path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-triage Status: Waiting for a maintainer to triage this issue/PR
Projects
None yet
Development

No branches or pull requests

1 participant