Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Set File Permissions

$
0
0

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


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>