Creation of symbolic link fails by installer
Creation of symbolic link fails by installer
- Subject: Creation of symbolic link fails by installer
- From: kushal ghosh <email@hidden>
- Date: Tue, 29 Jun 2010 14:25:16 +0530
Hi,
I am running two different installers through command line by sudo installer -pkg <pkgname> -target /.
Both the installers has a temporary location (say /tmp/temppath) as destination from where a symbolic link is created to required installation path such that actual installation takes place after creation of link. The symbolic link is made by methods provided by NSFileManager. The installers run and install fine when run singly. But simultaneously when both are run one always fails and other one succeeds.
The log says "The file <temppath> couldn’t be saved in the folder /tmp". This log is obtained from NSError descriptions.
Is it because of the fact that we cannot create 2 links to same path at a time? Or is it something to do with the installer? What is the substitute ?
Thanks
_______________________________________________
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