Re: Installer JavaScript development question.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=B1ShrfdwW9evror9xEKp3HJ+lBsizZfHvbztHeEOP88=; b=gw67NaUQJVXmdYyMsC3Hsq9iKjy517jhBiKqbhv/5P5Ukp9ClNT5xxv2KTXTSBH90/ mtxQw0jnCzHVTW+vwUVxAy6/GmjOQKUufjKAjOcTEUojb+A1WxPM94jqm+VvoeO9fFtn ThKbtE1kyP0UMTmG9Z9dfwCspEYOmJWSIlD3Q= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=YIyaN9RpxgFFTdtqTwjGBME/CboqZe1Jm89wMEdDtoJcOq6ZPSrC1AO7o7m0CdZJ6E 7e19sLuabTSt2rpejr4Ry+MvDSd0XXU/BsVb5e/YxHoXEWGR0Q1ZKTXmFLS1VSJCvpwe 3z8KwvcDGInzcMaUF+ekBRfthS+mJriCkR/pI= On Sep 30, 2010, at 10:04 PM, Alexander Klyuev wrote: Here it is: system.run('/bin/chmod', 'a+x', <path_to_main_package_resources_folder_script>); Not an API but another solution, yes. [...] This would to be tested but that could be a workaround. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... That being said, I don't see how only a JavaScript script would be able to fix the permissions : - there is no API for that. Great idea (would be), however (!!!) how to get path to a zip? Same primary problem... A possible solution is to make sure the script will be somewhere and that you know where this somewhere is. For instance, you could have an additional package that installs the script in /tmp. This way the permissions will be correct and you will know where the script is. This would require to add the package as the first package in the list of choices and set the package to be invisible. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev