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 15:39:38 -0800 (PST)
--- Peter Bierman <email@hidden> wrote:
> At 2:56 PM -0800 2/17/06, Fazan wrote:
> > 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?
>
>
> It's not PackageMaker, but any OS X installer
> package at all. This is
> a side effect of us tightening the permissions on
> /Library/Receipts/
>
> This is usually not a problem, because there's very
> little software
> that can be installed somewhere other than in the
> home directory
> without admin privileges. If your NoAuthorization
> package is
> installed in a homedir, then the receipt should end
> up in ~/L/R/,
> which is not as restrictive.
>
> Where are you installing your software that's not a
> home dir but
> still doesn't require authorization?
>
> -pmb
>
I am installing the app to a subdirectory within my
home directory. It seems like in this case, installer
should place the receipt in ~/Library/Receipts/ as you
indicated? Are there other installer properties I
need to configure for this to work?
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