Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Permission denied with io.open on Mac — Gideros Forum

Permission denied with io.open on Mac

Hi all,

I'm back with another issue to solve. When trying to save files into documents directory, on my Mac (with Gideros player) through dataSaver (or even directly with "io" functions), it fails with a "permission denied" error.

Is there a way to solve this?

Thank you


  • tetnictetnic Member
    Hi all,

    Maybe there are few Mac users out there. Finally I have understood where the problem is: when opening files I must specify the "|D|" prefix, if not I think that the runtime tries to use another path to work with.

    The strange is that if I use the "|D|" prefix with the Gideros Player it happen the inverse and the application crashes for a "permission denied" error.

    The problem can be avoided easily with a simple check, but do you think this is a correct behavior? Or simply is there anything I'm not considering here?

    Thank you for your help.

    Likes: Apollo14

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.