-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning if the game is installed in a protected folder (Program Files (x86)) #714
Comments
For now you can manually remove the read-only flag. Since it's not a very common occurrence and the user can solve it by themselves this has low priority. |
The problem is though is that the read-only flag isn't actually set when I right click on the properties of the file. I am guessing the problem has to do with the DVD installing into "C:\Program Files (x86)" which is not meant to be modified by regular users. I looked at maybe changing the permissions, but I can't make sense of the Windows security settings. Would be good if Mod Organizer would open these files in read-only mode since it really shouldn't be modifying ESP files anyway just doing things like sorting or exiting the program. |
Ah, no Mo needs to be able to change the filetime on the dlc to make sure it gets loaded before other mods. Could you try starting Mo2 as admin instead? |
You should not install games you intend to mod into Program Files (x86), as programs need admin rights to modify files inside that folder. |
Running as admin made the problem go away. Sounds like I will need to reinstall somewhere else or just run as admin in the future. Would it maybe be a good idea to have Mod Organizer pop up a warning message when you select a game in "Program Files (x86)" so other people don't make the same mistake I do? No big deal if you decide not to since not many people are probably playing modded Oblivion from the original DVD these days, but just a suggestion if it isn't too difficult. |
The problem:
Mod Organizer will display an access denied error for DLCFrostcrag.esp when performing various actions such as sorting plugins and even on exit of Mod Organizer. I have the original Oblivion and all the DLC installed from DVD, not the steam version. Based on the logs it appears that it is trying to set the file times for the esp when it is read-only in the installation folder. This happens when there are no other mods installed yet.
To Reproduce:
Make sure that Oblivion and DLC for Frostcrag Spire are installed from the DVD into the default installation location of C:\Program Files (x86)\Bethesda Softworks\Oblivion, then perform various actions such as sorting plugins or simply exiting the program and a pop up message will appear with access is denied.
Environment:
Details:
Below is a section from the logs where the error happens. It appears that Mod Organizer is trying to set file times on the esps when they are read-only in the installation folder.
22:04:32 [D] setting file times on esps
22:04:32 [C] uncaught exception in handler (object bossButton, eventtype 3): failed to access C:\Program Files (x86)\Bethesda Softworks\Oblivion\data\DLCFrostcrag.esp (Access is denied. [5])
22:09:37 [D] E:\Mods\Oblivion\profiles\Default\plugins.txt saved
22:09:37 [D] E:\Mods\Oblivion\profiles\Default\lockedorder.txt saved
22:09:37 [D] setting file times on esps
22:09:37 [C] uncaught exception in handler (object , eventtype 1): failed to access C:\Program Files (x86)\Bethesda Softworks\Oblivion\data\DLCFrostcrag.esp (Access is denied. [5])
The text was updated successfully, but these errors were encountered: