project-gameface icon indicating copy to clipboard operation
project-gameface copied to clipboard

Windows permissions and bad practices...

Open marcogaio opened this issue 5 months ago • 4 comments

Thanks for all your effort on this wonderful project!

I'm a sysadmin. I've installed on some Win10 64bit computer used by my Occupational Therapy, but found that program does not run (bump an error relative to the inability to write to 'log.txt') and cannot save profiles and profile settings.

All my users run as unprivileged user (only member of 'Users' group). Both can be easily solved with:

cacls "%ProgramFiles%\project_gameface\log.txt" /E /P BUILTIN\Users:C
cacls "%ProgramFiles%\project_gameface\configs" /E /T /P BUILTIN\Users:C

Anyway, it is considereb bad practice to save data (and logs) in %ProgramFiles%, better to save them on user's home.

Thanks.

marcogaio avatar Sep 27 '24 13:09 marcogaio