• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Set File Permissions

New Here ,
Oct 26, 2015 Oct 26, 2015

Copy link to clipboard

Copied

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

TOPICS
Development

Views

194

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines