Windows 10 permission denied

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Windows 10 permission denied

Postby ToejamS » 12 Aug 2015, 17:27

I upgraded to Win 10 last night, tried to run faf today and no go.
The logfile 'C:\Program Files (x86)\Forged Alliance Forever\FAForever.exe.log' could not be opened:
[Errno13\ Permission denied: 'C:\\program Files(x86)\\Forged Alliance Forever\\FAForever.exe.log'

I uninstalled it, reinstalled it. I found that all the files and subfolders were read only so I changed those permissions (had to reboot for that to work properly >.<) and it still not working. I created a file called FAForever.exe.log using the DOS copy con command and that worked but its still no working (file is NOT read only). I have tried reinstalling it 3 times now and its still a non starter.
ToejamS
Avatar-of-War
 
Posts: 296
Joined: 26 Aug 2011, 18:03
Has liked: 0 time
Been liked: 1 time
FAF User Name: ToejamS

Re: Windows 10 permission denied

Postby quark036 » 12 Aug 2015, 17:56

Windows 10 is really restrictive about permissions, I've run into issues with it in several places, where even if you run a program as administrator it says it doesn't have permissions.

This is not a great fix for it, but it should work. You can edit the registry setting ENABLELUA and change it from 1 to 0 (hit windows-r, enter regedit.exe, search for enablelua, and change the value). HOWEVER, this will basically make everything run as administrator, so I'd be careful doing it. You will have to restart for the changes to take effect. I haven't updated to 10 on my personal computer, so I'm not absolutely positive it will work with supcom, but it should.

Quark
quark036
Avatar-of-War
 
Posts: 165
Joined: 11 Mar 2015, 03:17
Has liked: 10 times
Been liked: 26 times
FAF User Name: Quark036

Re: Windows 10 permission denied

Postby ToejamS » 12 Aug 2015, 18:16

Awesome sauce. Quick reboot and it works. Lame that users need to jump through that hoop.
ToejamS
Avatar-of-War
 
Posts: 296
Joined: 26 Aug 2011, 18:03
Has liked: 0 time
Been liked: 1 time
FAF User Name: ToejamS

Re: Windows 10 permission denied

Postby quark036 » 12 Aug 2015, 19:17

Well, its a security feature, but I think they took it too far.
quark036
Avatar-of-War
 
Posts: 165
Joined: 11 Mar 2015, 03:17
Has liked: 10 times
Been liked: 26 times
FAF User Name: Quark036

Re: Windows 10 permission denied

Postby Sheeo » 12 Aug 2015, 19:55

No, do definitely NOT disable UAC.

Just fix your permissions. In your case deleting the files in your c:\programdata\faforever\logs directory should do it, since they seem to have the bad permissions.
Support FAF on patreon: https://www.patreon.com/faf?ty=h

Peek at our continued development on github: https://github.com/FAForever
Sheeo
Councillor - Administrative
 
Posts: 1038
Joined: 17 Dec 2013, 18:57
Has liked: 109 times
Been liked: 233 times
FAF User Name: Sheeo


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest