Add option to disable writing to file system
See original GitHub issueA clear and concise description of what the feature is. When the application is placed in a directory, where FXGL is unable to create/write files and/or directories, the FXGL application might not start, or the application runs with errors.
Describe the solution you’d like New FXGL setting/settings, that would allow disabling FXGL file writing and directory creation to file system.
Additional context (optional)
Case scenario - if the FXGL application is packed in an installer, where during installation, user can select installation folder, and the user selects folder with elevated privileges, e. g. on Windows Program files
, after the installation, the program does not run, because it could not create some directories and files.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
temporarily disabling one's own filesystem write permission
I'd like to be able to (temporarily) turn off my own write permission to the filesystem I'm using. Let's say, I'm logged in...
Read more >Disabling the Write-Behind Caching Setting Does Not Disable ...
To Completely Disable Write-Behind Caching · Right-click My Computer, and then click Properties. · Click File System, and then click the Removable Disk...
Read more >22.2. Enabling/Disabling Write Barriers
For devices with non-volatile, battery-backed write caches and those with write-caching disabled, you can safely disable write barriers at mount time using the ......
Read more >How to Enable or Disable Write Protection on a USB Flash Drive
FAT file system · In the Properties window, click the Sharing tab. · On the Sharing tab, click the Advanced Sharing button. ·...
Read more >How can I completely disable writing logs to filesystem?
Either point your config and log directories there or create a union filesystem. The last alternative is to request an overhaul of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes. I did set it to false. I recompiled everything again, and I can’t reproduce that again. Now everything is working fine in no-access directories. Thank You for implementing this feature so quickly 😃
Is this with FS write set to false?
initLogger 133 is, so it shouldn’t get inside the if … hmmm