Re: [sort of OT] PackageMaker help
Re: [sort of OT] PackageMaker help
- Subject: Re: [sort of OT] PackageMaker help
- From: Charles Srstka <email@hidden>
- Date: Mon, 6 May 2002 12:03:04 -0500
On Monday, May 6, 2002, at 07:14 AM, Angela Brett wrote:
Hello,
I'm trying to make a package to install my software - it has three
components which all need to be in different places so using the
installer is probably a good idea. I've made the package so that it
installs all three components into /Applications and then moves two of
them elsewhere with a post install script.
However, whether or not I include the script, if I make it so that it
doesn't need authorisation the installer puts everything in
/Applications and then complains that it couldn't set file attributes.
If I make it so it does require authorisation, and I have 'Use
Usermask' on, the install goes perfectly, everything is put in its
correct place, but the items are all owned by root. My understanding is
that 'Use Usermask' is supposed to make the files owned by whoever
authenticated. Why doesn't it?
I can't see anything wrong with what I'm doing... maybe it's some
subtle permissions thing which I'm not seeing. Any ideas?
I experimented with the UseUserMask option for my package
viewer/extractor program. Here is what I found through experimentation
with creating packages and letting Installer.app install them:
According to Apple's docs, UseUserMask makes installed files belong to
the username entered in the authentication dialog.
According to old NeXT docs, UseUserMask is supposed to set the
permissions of folders to 0777 AND'ed with the current user mask.
In reality, UseUserMask seems to do absolutely nothing at all. At least
if it does, I haven't been able to figure out what it is.
Charles
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.