File permision problem under Leopard

Previous topic - Next topic

kaotiklabs

When I try to run my compiled game under snow leopard it doesnt work and there isnÃ,´t any graphical output.

This is the log output.

06/05/10 10:59:40   com.apple.launchd.peruser.501[203]   ([0x0-0x4ff4ff].GLBasic.com[43645]) posix_spawn("/Users/xau/Desktop/xau01.app/Contents/MacOS/MacOSX", ...): Permission denied

any hint?
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

kaotiklabs

Finally I solved the problem.

I will explain it here because IÃ,´m not sure if itÃ,´s a bug or IÃ,´m the only one having the problem.

It seems file permisions for Mac are not beeing correctly set, at least thatÃ,´s whatÃ,´s happening on my macbookpro when I drag the .app from the windows vmware machine to my mac desktop.

I solved it giving executable permisions for the MacOsX file inside the package.

chmod +x example.app/Contents/MacOS/MACOSX

Once changed, everything runs ok.

Gernot, could you take a look?
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

Kitty Hello

I think I do that, but WinRAR e.g. cuts that off. I have no idea how to make it other than that.

... might have to see what the file permissions do on Windows once you set it on OSX.

trucidare

yep WinRAR cuts the permision.
do it with zip and it works.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

kaotiklabs

IÃ,´m just dragging the folder from the virtual machine to the desktop.
So no RAR involved...
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!