Hi synchronicity,
At first, thank you for this great tool and all your hard work
With the latest version 1.8.3, I have a concern with the rights following wimlib-imagex.exe extract --no-acls
I have a folder (eg D:\Extract_Winre) with owner everyone and full access to everyone
wimlib-imagex.exe extract "D:\Source\Win10_x64\Windows\System32\Recovery\winre.wim" 1 --no-acls --dest-dir="D:\Extract_Winre"
It result with No authorization (at all) has been assigned on D:\Extract_Winre.
I have no problem with wimlib 1.8.2 where I keep original permission to everyone .
Rights following extract --no-acls
-
- Site Admin
- Posts: 474
- Joined: Sun Aug 02, 2015 10:31 pm
Re: Rights following extract --no-acls
Hi,
You're correct that there was a change in behavior. To work around an obscure Windows bug, wimlib now removes the DACL from directories being extracted that already existed. This normally makes no difference in the final result, since wimlib will normally set new security descriptors at the end of the extraction anyway. But in your case, the --no-acls option was specified, which caused a directory to be left with no DACL, which grants full access to everyone.
I think this can be considered a bug, and I'll plan to fix it by disabling the DACL removal in --no-acls mode.
Thanks!
- synchronicity
You're correct that there was a change in behavior. To work around an obscure Windows bug, wimlib now removes the DACL from directories being extracted that already existed. This normally makes no difference in the final result, since wimlib will normally set new security descriptors at the end of the extraction anyway. But in your case, the --no-acls option was specified, which caused a directory to be left with no DACL, which grants full access to everyone.
I think this can be considered a bug, and I'll plan to fix it by disabling the DACL removal in --no-acls mode.
Thanks!
- synchronicity
Re: Rights following extract --no-acls
Thanks for your quick answer and to confirm
For now, no worries, not to change my process, I will keep v1.8.2.
For now, no worries, not to change my process, I will keep v1.8.2.
Re: Rights following extract --no-acls
I confirm the bug is fixed in wimlib-v1.8.4-BETA2