Re: /Library/Receipts, installing a pkg without admin authorization?
Re: /Library/Receipts, installing a pkg without admin authorization?
- Subject: Re: /Library/Receipts, installing a pkg without admin authorization?
- From: Fazan <email@hidden>
- Date: Fri, 17 Feb 2006 14:56:56 -0800 (PST)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden