Error with Windows 10 Enterprise....

Comments, questions, bug reports, etc.
rvs
Posts: 2
Joined: Tue Sep 20, 2016 7:36 am

Re: Error with Windows 10 Enterprise....

Post by rvs »

I update NTFS-3G to the latest "edge" branch and wimlib to version 1.10.0
When i apply windows 10 enterprise build 1607 64bit dutch i got this error message.

Applying image 1 ("Windows 10 Enterprise") from "/tftpboot/images/win10/image01/image.wim" to NTFS volume "/dev/sdb1"
[ERROR] Failed to set security descriptor on "/ProgramData/Microsoft/Settings/Accounts" in NTFS volume: Invalid argument
The security descriptor is: 0100148c14000000340000007002000054000000010600000000000550000000b589fb381984c2cb5c6c236d5700776ec0026487010600000000000550000000b589fb381984c2cb5c6c236d5700776ec002648702001c020d00000000002800ff011f00010600000000000550000000b589fb381984c2cb5c6c236d5700776ec0026487000b1400ffff1f1101010000000000030000000000001400ff011f00010100000000000512000000000b1400ffff1f1101010000000000051200000000001800ff011f0001020000000000052000000020020000000b1800ffff1f110102000000000005200000002002000009037000ff011f00010a00000000000f0300000000040000462531041f97b2d5f0f58544a85403bf8f56c0fd261cce9b8f7adb1ab2df4d6361727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a209034c00ff011f0001010000000000050400000061727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a209036c00ff011f00010900000000000520000000462531041f97b2d5f0f58544a85403bf8f56c0fd261cce9b8f7adb1ab2df4d6361727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a200131400ff011f0001010000000000051200000000131800ff011f000102000000000005200000002002000000131800a90012000102000000000005200000002102000000131400a90012000101000000000001000000000200080000000000

This error occurred because libntfs-3g thinks the security descriptor is invalid. There are several known bugs with libntfs-3g's security descriptor validation logic in older versions. Please upgrade to NTFS-3G version 2016.2.22 or later if you haven't already.
ERROR: Exiting with error code 59:
Failed to set file owner, group, or other permissions on extracted file.

Is this another NTFS-3G bug?
obitwo
Posts: 2
Joined: Tue Sep 20, 2016 2:13 pm

Re: Error with Windows 10 Enterprise....

Post by obitwo »

Same issue for me, I downloaded the volume version of Windows 10, and I got this error with edge branch version. I use another Windows 10 iso (older) for the moment that work without any issue.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Error with Windows 10 Enterprise....

Post by synchronicity »

It's actually the same NTFS-3G bug, more or less. The earlier fix was incomplete.

I've written what I believe to be a correct fix and sent it to the NTFS-3G mailing list.

I've also attached the proposed patch to this post, so you can try it if you're interested.
Attachments
ntfs-3g_fix.patch
(7.57 KiB) Downloaded 1068 times
rvs
Posts: 2
Joined: Tue Sep 20, 2016 7:36 am

Re: Error with Windows 10 Enterprise....

Post by rvs »

synchronicity wrote:It's actually the same NTFS-3G bug, more or less. The earlier fix was incomplete.

I've written what I believe to be a correct fix and sent it to the NTFS-3G mailing list.

I've also attached the proposed patch to this post, so you can try it if you're interested.
Thanks for the patch.
It fixed the problemen. :-)
obitwo
Posts: 2
Joined: Tue Sep 20, 2016 2:13 pm

Re: Error with Windows 10 Enterprise....

Post by obitwo »

The patch just goes perfect, thanks !!

I've uploaded a package ready (Debian Jessie) on my repository:
http://open.iabsis.com/

Regards,

Olivier.
jnjvp
Posts: 2
Joined: Sat Apr 08, 2017 3:25 pm

Re: Error with Windows 10 Enterprise....

Post by jnjvp »

synchronicity wrote:It's actually the same NTFS-3G bug, more or less. The earlier fix was incomplete.

I've written what I believe to be a correct fix and sent it to the NTFS-3G mailing list.

I've also attached the proposed patch to this post, so you can try it if you're interested.
I've just tried ntfs-3g 2017.3.23 and it still doesn't works. I've checked and your patch hasn't gone to this version. ntfs-3g 2017.3.23 with patch applied works perfect. I just want to make sure that folks from ntfs-3g didn't forget about your patch.

Thank you for your work.
jnjvp
Posts: 2
Joined: Sat Apr 08, 2017 3:25 pm

Re: Error with Windows 10 Enterprise....

Post by jnjvp »

I've packaged ntfs-3g with your patch for archlinux. It can be found here: https://aur.archlinux.org/packages/ntfs ... b-patched/
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Error with Windows 10 Enterprise....

Post by synchronicity »

Sorry, what happened was that the NTFS-3G maintainer preferred something different, and I've been too lazy to make a new proposal. I'll look into it again.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: Error with Windows 10 Enterprise....

Post by synchronicity »

Update: this was fixed by NTFS-3G commit 67feb2c286a3 ("Relaxed limitations on security descriptors"). You can find the development version of NTFS-3G at git://git.code.sf.net/p/ntfs-3g/ntfs-3g, branch "edge".
Andreas.Nick
Posts: 9
Joined: Tue Feb 27, 2018 1:41 pm

Re: Error with Windows 10 Enterprise....

Post by Andreas.Nick »

From my point of view, the problem has not been solved or is back! I tried to expand a 2016 WIM server. New ntfs-3g tools (2017.3.23) and new Wimlib. The switch "wimlib-imagex --no-acls" helps. Then the company expands and everything works. Unfortunately, every Windows directory has the permission "Everyone". Anybody got an idea?

sudo wimlib-imagex apply /var/tmp/install.wim 2 /dev/sdb1

Applying image 2 ("Windows Server 2016 SERVERSTANDARD") from "/var/tmp/install.wim" to NTFS volume "/dev/sdb1"
[ERROR] Failed to set security descriptor on "/ProgramData/Microsoft/Settings/Accounts" in NTFS volume: Invalid argument
The security descriptor is: 0100148c14000000340000007002000054000000010600000000000550000000b589fb381984c2cb5c6c236d5700776ec0026487010600000000000550000000b589fb381984c2cb5c6c236d5700776ec002648702001c020d00000000002800ff011f00010600000000000550000000b589fb381984c2cb5c6c236d5700776ec0026487000b1400ffff1f1101010000000000030000000000001400ff011f00010100000000000512000000000b1400ffff1f1101010000000000051200000000001800ff011f0001020000000000052000000020020000000b1800ffff1f110102000000000005200000002002000009037000ff011f00010a00000000000f0300000000040000462531041f97b2d5f0f58544a85403bf8f56c0fd261cce9b8f7adb1ab2df4d6361727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a209034c00ff011f0001010000000000050400000061727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a209036c00ff011f00010900000000000520000000462531041f97b2d5f0f58544a85403bf8f56c0fd261cce9b8f7adb1ab2df4d6361727478f82e000000570049004e003a002f002f00490053004d0055004c0054004900530045005300530049004f004e0053004b005500a200131400ff011f0001010000000000051200000000131800ff011f000102000000000005200000002002000000131800a90012000102000000000005200000002102000000131400a90012000101000000000001000000000200080000000000

This error occurred because libntfs-3g thinks the security descriptor is invalid. There are several known bugs with libntfs-3g's security descriptor validation logic in older versions. Please upgrade to NTFS-3G version 2016.2.22 or later if you haven't already.
ERROR: Exiting with error code 59:
Failed to set file owner, group, or other permissions on extracted file.

ntfs-3g --version
ntfs-3g 2017.3.23 integrated FUSE 27
Post Reply