-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
[2.0.0] error: This access control list is not in canonical form #218
Comments
@bacongobbler |
@bacongobbler
It seems that this error is related to corrupt ACLs. You could also try the 'AccessChk' utility: https://docs.microsoft.com/en-us/sysinternals/downloads/accesschk. The command would be:
The reason you do not see this with 1.3.0 is that only since 2.0.0 the ACLs are set so that WSL attach/detach no longer requires admin rights. But the underlying problem may be a corrupt registry... |
Accesschk doesn't appear to show anything useful... Nor does accesschk64.
EDIT: ah, this worked:
|
@bacongobbler
|
@bacongobbler |
Yes.
Here's the access rights (Permissions?) page for |
How would I have corrupted the ACLs? Sorry, not much of a Windows user here so this is all new to me. |
@bacongobbler Background:
What could have caused this? I don't know... Maybe memory corruption when the registry was written to disk. Maybe file corruption on the disk itself. Maybe an unfortunate reboot at the wrong time (although the file system journal should cover that)... On the other hand, the Device node is created by the |
I managed to fix the issue by completely uninstalling and re-installing usbipd-win from scratch. When I opened the ticket, I used the .msi "Upgrade" option... Perhaps that may have something to do with it? In either case I found a workaround, and can happily attach/detach devices without any issue.
I'm happy to keep attempting to reproduce/diagnose the issue, but feel free to close if you're happy with the outcome. |
@bacongobbler (PS: There is nothing special about that registry entry. It is (or should be) the same as any other. Nothing has changed since 1.0.0 in how it is created or used. And your Advanced permissions look exactly like mine. I'm out of ideas, really.) |
For the most part, yeah. I was using the artifact build from #153 so I could attach my YubiKey to WSL2, then upgraded to 2.0.0 once it became available. I really appreciate the assistance! |
@bacongobbler |
Similar problems:
Reinstall usbipd-win works for me. |
After upgrading from 1.3.0 to 2.0.0, I'm starting to see this:
reverting back to #153 (required due to a regression in 1.3.0) resolved the issue.
The text was updated successfully, but these errors were encountered: