[Resolved] can't write into file on mac - android ok

using the same code : local path = system.pathForFile( “pdata.txt”, system.DocumentsDirectory ) for android and ios, it seems I cannot write to the file in mac.

I attempted to delete the file, but mac states I don’t have permission.

Need a mac-centric mind on this.

Thanks [import]uid: 31039 topic_id: 25605 reply_id: 325605[/import]

I’ve used this with Ego (simple saving/loading solution) and haven’t had any issues.

Do you have admin permissions on the Mac? All sandbox files should be deletable. [import]uid: 52491 topic_id: 25605 reply_id: 103481[/import]

thanks. I wasn’t logged on with the correct authority. [import]uid: 31039 topic_id: 25605 reply_id: 103546[/import]

No worries, it’s an easy mistake to make.

Marking as resolved :slight_smile: [import]uid: 52491 topic_id: 25605 reply_id: 103674[/import]