On 18 Feb 2010, at 09:36, Peter Hudson wrote:

> "....  Files that are necessary should be inside your app bundle, usually."
> 
> 
> 
> I put some files into the app bundle which were essential for the app to run -
> but also needed to be modified at run time.
> 

Those definitely shouldn't be changed inside the app bundle, as you'll break 
your code's identity.

> The first time our app was installed on a server ( for a number of users to 
> have access to )
> we got into trouble as the sysadmin would not give write permission on the 
> application folder
> to anybody.
> 
> Is there another way to do this ?


You could _distribute_ them in the app bundle, then copy the files to 
~/Library/Application Support/com.yourcompany.yourapp/ when it is first 
launched. Use and change the deployed copies from then on.


Cheers,
Graham.

-- 
Graham Lee
http://blog.securemacprogramming.com/
Coming soon - Professional Cocoa Application Security
http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470525959.html

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to