Re: Packages or Iceberg question
Re: Packages or Iceberg question
- Subject: Re: Packages or Iceberg question
- From: email@hidden
- Date: Tue, 28 Jan 2014 14:18:03 -0600
If you are using the #2 option below, please be aware of the security concerns inherent in writing to and reading from a publicly accessible folder. The iOS Secure Coding Guide (https://developer.apple.com/library/ios/documentation/Security/Conceptual/SecureCodingGuide/SecureCodingGuide.pdf) has a nice blurb entitled "Files in Publicly Writable Directories are Dangerous" on pages 51-52.
-Josh
On Jan 28, 2014, at 2:00 PM, email@hidden wrote:
>
> Date: Tue, 28 Jan 2014 11:46:06 -0800
> From: Conor Schutzman <email@hidden>
> To: Kostas Backas <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Subject: Re: Packages or Iceberg question
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=windows-1252
>
> There are two solutions I see:
>
> 1) Add the full path (I would just build a “source” folder that had a full hierarchy built within it) to the payloads tab in Packages.
>
> 2) Install the file to some holding location (I use /private/tmp but there are a bunch of common options), and then use postinstall scripts to move the files to their correct location.
>
> I personally would recommend #2 whenever you are playing in /System, as it also provides an opportunity for you to backup the existing files first, before over-writing them (though I suppose you could do that with pre-install scripting using option 1).
>
> Clear as mud?
>
> Conor
>
>
> On Jan 27, 2014, at 3:38 PM, Kostas Backas <email@hidden> wrote:
>
>> Hello,
>>
>> This is a duplicate to the Mac Enterprise list,
>>
>> I need to replace the file SampleSupport.plist which has the letters shown when Quicklooking a font. I have tweaked the file and now I need to wrap it in a Packages pkg I create, that, among others, it replaces some fonts in main Library and System Library and installs 2 pkgs.
>> As I get from Packages help, when you want to put something ex. in /System/Library/Fonts, you add the “Fonts” directory to the Payload via Hierarchy.
>> As for the SampleSupport.plist the full path is: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/Resources
>>
>> Do I have to create all the tree by hand? What about permissions? Or am I completely wrong here?
>>
>> Best regards
>>
>> Kostas
>> _______________________________________________
>> 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
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Installer-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/installer-dev
>
>
> End of Installer-dev Digest, Vol 113, Issue 6
> *********************************************
_______________________________________________
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