site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+xY7IfZchTxYhyGhD4fkK+KiFSB6EyTTC+z1zO3rBos=; b=VtIavBOlnMkIB8cLge0RPH0NFwaj8qBjVarMudJzcrzQ2XEq5GRf7I6badDtg2rTWS eMsPQQjcFxMzcH1t2vdPVpn+fuGZ5tpaIxAngMi2uoONrZTk+sPEgIofrieib7jUKvBc CpckhUOiFWcLnfLfVKfHLvLAjGwE/IINwHj5A= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kja4pDf42hNUxatJi7IM4S936KfRjTyL0bpUbrtD5dH+JCX6XRuU0Old4wNs8Gabqr PbwxIeFECti/ALxVC1XExlLxnU7l6OaACvoNfVmH6lXip1Rpxr9IIEES5Gz4Xroh9BD1 DW/pl0C9yHrhNcO1gAfK/s+MWWFk1DaJf7Nnw= On Wed, Aug 26, 2009 at 4:28 PM, Iceberg-Dev<dev.iceberg@gmail.com> wrote:
On Aug 26, 2009, at 9:45 PM, justin blecher wrote:
[...]
* is my assumption/interpretaton -- anytime there are items that belong in a "standard directory", a separate package must be made for them, targeted to that standard directory -- correct?
* are my evaluations and suggestions for the fixing (hah!) the offending packages on the right track? (not like i'm interested in fixing them, i'm just trying to grok the concepts for my own packages.)
IMHO, this warning is just plain bullsh*t.
ooookay. care to elaborate why you feel that way? :)
What you should not do (if you can) is to allow overwriting of the permissions of these standard directories.
This somehow assumes that you are confident that no other packages have messed with them.
right. well, by default the packages i'm creating in Iceberg don't have "allow overwriting of permissions" on, so i shouldn't have to worry about that, right? are you suggesting that it doesn't matter what the owner/group/permission bits are on any of the enclosing folders if they already exist? i'd expect for consistency/sanity's sake that one would want to make the permissions of the enclosing folders the same as what currently exists [on a reference system]. what if other packages were sloppy and messed with the perms (they had enclosing folders set to incorrect perms and enabled 'allow overwriting...')? just hope that the user will eventually run "repair permissions"?
* what is the definitive list of "Mac OS X standard directories", or how can i generate it dynamically?
You could find it by examining the Essentials.pkg packages from a Mac OS X Install Disc. Pacifist can help.
ok, got it. i ended up using good 'ole lsbom: lsbom -p MUGsf `pkgutil --bom /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/Essentials.pkg` | grep '\./Library/' | grep ^d > essential_directory_listing.txt ...and then manually filtered the resulting list to get: drwxrwxr-x root admin ./Library/Address Book Plug-Ins drwxrwxr-x root admin ./Library/Application Support drwxrwxr-x root admin ./Library/Application Support/Apple drwxrwxr-x root admin ./Library/Application Support/Macromedia drwxrwxr-x root admin ./Library/Application Support/Mozilla drwxrwxr-x root admin ./Library/Application Support/ProApps drwxrwxr-x root admin ./Library/Audio drwxrwxrwt root admin ./Library/Caches drwxrwxr-x root admin ./Library/ColorSync drwxrwxr-x root admin ./Library/Components drwxrwxr-x root admin ./Library/Compositions drwxrwxr-x root admin ./Library/Contextual Menu Items drwxrwxr-x root admin ./Library/Dictionaries drwxr-xr-x root wheel ./Library/Filesystems drwxrwxr-x root admin ./Library/Fonts drwxrwxr-x root admin ./Library/Frameworks drwxrwxr-x root admin ./Library/Image Capture drwxrwxr-x root admin ./Library/Input Methods drwxrwxr-x root admin ./Library/Internet Plug-Ins drwxr-xr-x root wheel ./Library/LaunchAgents drwxr-xr-x root wheel ./Library/LaunchDaemons drwxrwxr-x root admin ./Library/Logs drwxrwxr-x root admin ./Library/Mail drwxrwxr-x root admin ./Library/Modem Scripts drwxrwxr-x root admin ./Library/PDF Services drwxrwxr-x root admin ./Library/Perl drwxr-xr-x root wheel ./Library/PreferencePanes drwxrwxr-x root admin ./Library/Preferences drwxr-xr-x root admin ./Library/Preferences/SystemConfiguration drwxrwxr-x root admin ./Library/Printers drwxrwxr-x root admin ./Library/QuickLook drwxrwxr-x root admin ./Library/QuickTime drwxrwxr-x root admin ./Library/Ruby drwxrwxr-x root admin ./Library/Screen Savers drwxrwxr-x root admin ./Library/Scripts drwxrwxr-x root admin ./Library/Security drwxrwxr-x root admin ./Library/Spotlight drwxr-xr-x root wheel ./Library/StartupItems drwxrwxr-x root admin ./Library/Updates drwxrwxr-x root admin ./Library/User Pictures drwxrwxr-x root admin ./Library/WebServer drwxrwxr-x root admin ./Library/iTunes ... which is good enough to guide me in setting the perms in my enclosing folders (if i choose to do so... still researching this). -justin _______________________________________________ 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