GLBasic forum

Main forum => GLBasic - en => Topic started by: kaotiklabs on 2010-May-06

Title: File permision problem under Leopard
Post by: kaotiklabs on 2010-May-06
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?
Title: Re: File permision problem under Leopard
Post by: kaotiklabs on 2010-May-23
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?
Title: Re: File permision problem under Leopard
Post by: Kitty Hello on 2010-May-31
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.
Title: Re: File permision problem under Leopard
Post by: trucidare on 2010-May-31
yep WinRAR cuts the permision.
do it with zip and it works.
Title: Re: File permision problem under Leopard
Post by: kaotiklabs on 2010-May-31
IÃ,´m just dragging the folder from the virtual machine to the desktop.
So no RAR involved...