User Tag List

Results 1 to 2 of 2

Thread: Windows Permissions Issues With Read and Write

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    4 Post(s)
    0 Thread(s)

    Windows Permissions Issues With Read and Write

    Hi, I've been stuck on this now for a few days but here is the issue:

    My program needs to read/write to some files (an ini file and some bitmaps).
    Those files are stored in C:/ProgramData/myGame
    The exe is stored C:/ProgramFiles(x86)/myGame

    Everything works fine when I install the application the first time but as soon as I reboot my PC it seems that my program is no longer allowed to access those files . I can force them back manually each time by forcible setting their permissions on each file (right click) but obviously I cant expect my users to be doing that.

    So how do I do it?

    I tried using C:\>c:\windows\system32\icacls c:\ProgramData\myGame /grant everyoneOI)(CI)F from the command line just to test but this just says access denied

    Now the whole reason I put these file in ProgramData in the first place was because i was of the understanding that they could be freely accessed there. (Unlike the Program Files Folder) however this doesn't seem to be the case.

    Also, I cant set my app as 'run as admin' because i need it to start it the startup folder (which apparently cant be done with an admin rights exe.) and also I don't really want my user to have to use admin rights for it anyhow.

    Its a problem I really dont need. I just want my app to be able to access all the files. I would have thought that would/should be default behavior.

    I am using Install Creator Pro for the installer and there don't seem to be any permission settings in that.


  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    47 Post(s)
    0 Thread(s)
    @grimmy : the only save spot for writing data is the appdata directory that is owned by the current user and has no limitations, even without admin rights. Look here:

Similar Threads

  1. Setting Read/Write Permissions in EXE or Install
    By dsilvers in forum Fusion 2.5
    Replies: 12
    Last Post: 14th March 2018, 08:20 PM
  2. Admob Permissions - Read Phone Status & Identity
    By macca02 in forum Android Export Module 2.5
    Replies: 7
    Last Post: 18th October 2014, 07:43 PM
  3. AppData\Roaming read\write privileges in non-admin Windows user account?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 31st March 2014, 02:34 PM
  4. read/write an ini
    By arthurh in forum Android Export Module Version 2.0
    Replies: 9
    Last Post: 28th May 2013, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts