Skip to main content
Participant
October 26, 2015
Question

Set File Permissions

  • October 26, 2015
  • 0 replies
  • 226 views

Hi AIR folks,

My desktop app creates a sqlite file and places it in the shared documents folder for all users to access. On Macs I'm getting errors when trying to write to that file with a different user than the creator. It works fine if I change the file permissions manually to allow 'everyone' to read and write. What I want to do is set those permissions via code when the sqlite file is initially created. I wasn't able to find a way to change the permissions a sqlite (or any other type) file in ActionScript. I've looked at File and FileReference documentation, but hoping I missed something. Any ideas? Thanks!

- JB

This topic has been closed for replies.