Re: Application fails to launch on certain machines, execle err=22
Re: Application fails to launch on certain machines, execle err=22
- Subject: Re: Application fails to launch on certain machines, execle err=22
- From: Heath Raftery <email@hidden>
- Date: Sun, 13 Jun 2004 18:53:20 +1000
On 13/06/2004, at 9:36 AM, Markus Hitter wrote:
Am 12.06.2004 um 23:35 schrieb Brian Barnes:
I know what it is but no idea why. The execute permission on the
executable inside the package was bad (it was missing the execution
bit.)
I'm having this tested right now -- anybody know what could cause
this?
StuffIt is/was known not to restore file permissions properly. For
example.
Fixed in the latest versions I beleive. And file transfer via SMB for
example, wont always maintain permissions. Putting the files on a non
HFS+ drive at some point (transfer by FAT32 thumb drive, or downloading
on a Windows machine perhaps). I can't remember if you have mentioned
this, but how do you distribute your application. If you have it in a
dmg you should be fine. Stuffing the application will work in most
situations. Sending the actual application is more dangerous though.
The last thing I want to tell users is to drop into terminal and type
in a giant chmod :)
Can Disk Utility repair this?
I think there needs to be a download receipt for DU to know what
permissions are correct. This is generally not the case for normal
downloads (only those downloaded with Software Update).
Else, you could check execute permission in code and change it from
there. Doing so might require to ask for the admin password
(privileged execution of a task). OK, lots of work, bad user
experience. Better find the real cause :-)
Bit tricky if the code that does this check is compiled into a
non-executable file too! Best bet would be a dmg wrapper I reckon.
Heath
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.