From: Robert DuToit <email@hidden>
Date: January 23, 2006 5:26:34 PM EST
To: Matt Neuburg <email@hidden>
Subject: Re: Studio permissions problems
Hi Matt,
yes I thought maybe a .dmg too. The problem may be my homemade
installer which uses "do shell script cp" to copy files. It works
so well except for this problem. I tried a go with the Apple
Package Installer app but don't think that will work with my app...
though that supposedly preserves permissions in the installer
package files when copying them in. Hmmm... xcodebuild, intriguing.
I'll do some more experiments. Thanks, Rob
On Jan 23, 2006, at 2:05 PM, Matt Neuburg wrote:
On Sun, 22 Jan 2006 14:09:21 -0500, Robert DuToit
<email@hidden>
said:
Hi All,
I have a Studio app out there and all is well except when people
try to use it (in the applications folder) from different user
accounts. The user who downloads it has no problem but when another
family member tries to access it from their account they get
"network
permissions" errors. I tell them to reset permissions for the app to
everyone (as group) and Read-and-Write for all cases, then it works
fine. Before launching the app I set the permissions myself to read
and write and also the internal resources folders, but when it is
copied/downloaded the permissions go back to read only! Any ideas
how
to make these apps more universally accessed or what I am missing?
Thanks Rob D
This is just a wild idea, but try using xcodebuild (command line
tool)
instead of Xcode to perform your final build, and see if that
helps. If not,
you might also need to look at how the app is being distributed;
you might
need to put it in a .dmg to make sure permissions are being
preserved. Okay,
all that was just a guess, so you'll still have to experiment. :( m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>