tnodir / fort

Fort Firewall for Windows
GNU General Public License v3.0
1.1k stars 96 forks source link

Cannot Load Settings #230

Closed WGZero05 closed 2 months ago

WGZero05 commented 2 months ago

After installation, and configured my settings and apply it. This appears. How to fix this?

image

WGZero05 commented 2 months ago

image

tnodir commented 2 months ago

Please show files from the following folders:

WGZero05 commented 2 months ago

image

found it: C:\Users\\AppData\Local\Fort Firewall\logs but the C:\ProgramData\Fort Firewall\logs is empty.

tnodir commented 2 months ago

Does the C:\ProgramData\Fort Firewall\FortFirewall.config file exist?

Can the user (which runs the FortFirewall.exe) open that file?

WGZero05 commented 2 months ago

Yes it is exists.

image

tnodir commented 2 months ago

Please check that Users group have read permissions in the C:\ProgramData.

It is by default: prog-data-perms

tnodir commented 2 months ago

Maybe you are running the FortFirewall.exe in some sandbox?

So it can not open files for reading in the C:\ProgramData\Fort Firewall?

WGZero05 commented 2 months ago

I tried to open the FortFirewall.exe as administrator and configure the Options and press Apply button and it works. No errors found.

p.s. I don't use any sandbox or mvware. I am using my personal computer, sir. I use 1 Operating system only.

WGZero05 commented 2 months ago

By the way, Your Application is so beatiful to use. Thank you that u exist in this world. I love your App. <3

WGZero05 commented 2 months ago

I forgot to ask. Can i install the Fort Firewall Setup in silent mode?

tnodir commented 2 months ago

I forgot to ask. Can i install the Fort Firewall Setup in silent mode?

https://github.com/tnodir/fort/issues/229

tnodir commented 2 months ago

I tried to open the FortFirewall.exe as administrator and configure the Options and press Apply button and it works.

It works, because admin has full access to that folder.

Strange, regular users should have read access to that folder too...

tnodir commented 2 months ago

@WGZero05 Can you please show a screenshot of permissions?

As I did in https://github.com/tnodir/fort/issues/230#issuecomment-2054026713

tnodir commented 2 months ago

I have double-checked the issue:

Permissions to check: conf-perms

WGZero05 commented 2 months ago

@WGZero05 Can you please show a screenshot of permissions?

As I did in #230 (comment)

I am using Windows 10 Pro. Here's the screenshot. image

WGZero05 commented 2 months ago

I have double-checked the issue:

Permissions to check: conf-perms

Yeah this latest was installed on my computer.

tnodir commented 2 months ago

I am using Windows 10 Pro. Here's the screenshot.

As you can see on your screenshot, Everyone have Full access to the folder only. It’s not a default permissions of Win 10. You can add Users group with read permissions for folder and subfolders with inheritance.