mod times on directories installed by pkg?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Hi, Any thoughts? Thanks, -Julian I'm seeing something strange with the mod times on directories installed by a pkg (including .app directories). I'm currently testing under 10.4.8 on an Intel. Basically here's the idea: Before making my pkg, I set the mod time of all files and directories in the input folder to be the same. After installing the pkg, the mod time of all FILES is what I set it to. However, for directories, some have the mod time I set, while others have a mod time matching the time at which I installed. lsbom -p MUGsfT only shows times for files, not directories, suggesting that maybe mod time for directories are not stored? I can't figure out what determines whether a folder gets the intended mod time (mod time of the directory when building the pkg) or time of install. Originally I had, in a particular directory: help/ myapp.app/ extra1/ extra2/ help and extra1 were empty, and both had the intended mod time after installed. extra2 and the .app were not empty and both got the time of install. Appeared to be a pattern. But then I filled more input files for my build, so that help now contained some html and image files, and extra1 now contained a wdgt and some other files. After this change, help gets installed with time of install, but extra1 gets installed with the intended time. Now since both contain files, I have no idea what is determining which time gets applied to the directories. And yes, my ultimate goal is to have the directories all show the time I want - specifically so that Get Info on the app shows the intended mod time. p.s. I see the same thing in /Developer... some directories show mod time of install, others show various times in September... _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Julian Devlin