tar cf ../test.tar .
cd ..
- if ! imagex mountrw test.wim tmp.mnt; then
+ if ! imagex mountrw test.wim tmp.mnt --unix-data; then
error "Failed to mount WIM read-write"
fi
cd tmp.mnt
- if ! tar xf ../test.tar --no-same-owner; then
+ if ! tar xf ../test.tar; then
error "Failed to untar archive on read-write mounted WIM"
fi
cd ..
fi
cd tmp.mnt
- if ! tar xf ../test.tar --no-same-owner; then
+ if ! tar xf ../test.tar; then
error "Failed to untar archive on read-write mounted WIM"
fi
cd ..