Re: /Library/Receipts, installing a pkg without admin authorization?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4prxESNw1DjwRTsNfz5NMj42DyMKbEzANMfgVSy0jjLxXw1ihavriw6UkqwK1JZUU1E+WtVL2rHmgVRaI87TMwH/L8MRMgBs0DBMfVDWc2VBQTyI5U7/9nb1fL7kz4YJ36T0nrIbpMFbR7mEd1YBocOCeSkxJsYA+IksDDEqkz0= ; I am creating my own package and currently I don't do anything in the install that requires admin authorization. Therefore, I am setting IFPkgFlagAuthorizationAction to NoAuthorization. When I install the package as an ordinary user, it appears to install correctly, but the Installer fails with an error message: "There were errors installing the software". When I viewed the installer log, I see an error message about how it is trying to move an existing receipt /private/tmp/.<my app name> to /Library/Receipts/<my app name>. The permissions of /Library/Receipts are rwxrwxr-x (owned by root), and since I'm not logged in as an administrator, it makes sense that it fails. Does every installer package created with PackageMaker attempt to write to /Library/Receipts? If so, does this mean that only administrators can install packages? Or is there something wrong with the permissions on my /Library/Receipts directory? Thanks in advance, Fazan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ 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)
-
Fazan