Re: Installer plug-ins and /tmp issues
Re: Installer plug-ins and /tmp issues
- Subject: Re: Installer plug-ins and /tmp issues
- From: Atticus Gifford <email@hidden>
- Date: Thu, 29 Mar 2007 15:59:55 -0400
On Mar 29, 2007, at 3:06 AM, Stéphane Sudre wrote:
On jeudi, mars 29, 2007, at 04:42 AM, Atticus O Gifford wrote:
I apologize for the length of this! The short version is I need a
way to pass
information from plug-ins that get executed before the
authorization step in
the installer to a package later in the installer that does the
actual writing.
For more detail, read on:
-------
[...]
I'm currently using /tmp as a well-known location to pass messages
in text
files, but I'm not sure that's the best solution here.
Additionally, the
package that does the writing at the end seems to have trouble
installing files
to /tmp (I get generic errors, and the installer quits with no other
information).
1) Should I be using /private/tmp rather than /tmp? I'm not sure
which is the more appropriate location.
2) Am I approaching this all wrong? What are other people doing?
3) why won't files install into /tmp from the package I'm using?
Permissions on
original files? Should it matter for /tmp?
Grouping 1) and 3). Since /tmp is symlink to /private/tmp, is the
Follow Symlink option enabled in your package?
It is enabled. I'm pretty certain I tried both /tmp and /private/tmp
directly with the same results. I also got a response off-list that
suggested I use temp space in the user domain ($HOME). I wasn't sure
whether that would work at first since these packages need to be
deployed via ARD and I didn't know how Installer ran in that
situation. Since it now looks like it runs under a chosen user
account, the user domain temp space is probably a more appropriate
location than /private/tmp. If anyone has any thoughts or
suggestions along those lines, I'd sure appreciate it.
Thanks for the help,
Atticus _______________________________________________
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