keeleysam / instadmg

Automatically exported from code.google.com/p/instadmg
0 stars 0 forks source link

10.7 images are created with root (/) owned by me instead of root #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download InstaDMG
2. copy in InstallESD.dmg
3. sudo ./instaUp2Date.py -p 10.7_vanilla 

What is the expected output? What do you see instead?
When I use ASR to copy that onto a target the root filesystem is owned by me 
(or maybe nobody)  If I mount it on my build computer `open 10.7\ Vanilla.dmg`, 
it is owned by me.  If I use `asr` to copy it to a boot disk and then boot from 
it, it seems to be owned by whoever logs in first.

What version of InstaDMG are you running? What revision number (this should
be the second line of your package log)?

At revision 457.

What OS are you running on (booted from)?

10.7.4

What OS are you installing?

10.7

Please provide any additional information below.

This wasn't true of the 10.6.8 system I built previously.  I only use InstaDMG 
once a year or whenever I update OSes.  I use Munki between times.  So it was 
last summer that I built my final 10.6.8.  I've been working on 10.7 this 
summer and noticed this issue right away, but I did't try to troubleshoot until 
now.  So I got the clean install of InstaDMG with none of my local pkgs to test 
and found it true even with a clean vanilla install. 

I'll try to test with a clean 10.6 install too, but I won't be able to do that 
until next week.

BTW, the 10.7_vanilla.catalog includes the old Jave "Java for OS X Lion 
2012-004".  That doesn't seem to be on Apple's servers anymore.  The new one is 

        Java for OS X Lion 2012-005     http://support.apple.com/downloads/DL1572/en_US/JavaForOSX.dmg  sha1:e0750c72972b8a2ccbcb3144bb31d74419276387

Original issue reported on code.google.com by paulbl...@gmail.com on 6 Sep 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Not sure if this has anything to do with the lack of journalling on sparse 
images by default, please try changing HFS+ to HFS+J on line 738. Pardon it 
took a while to get this accepted. Thanks, Allister

Original comment by a...@aru-b.com on 9 Sep 2012 at 11:20