-
Notifications
You must be signed in to change notification settings - Fork 281
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
Unable to write to C:\Program Files (x86)\Emarcadero\Dev-Cpp\config\devcpp.ini #24
Comments
Are you running under some kind of special account? Or a school/business administrated desktop? The new default location for the settings file is My Documents\Embarcadero\Dev-Cpp so it's a little odd if it can't access that directory? |
I see that the fix to have config.ini in MyDocuments didn't make it into the release. |
@FMXExpress Doesn't it make more sense to have the config file on the |
Apparently not. It is in the %AppData% folder now and not working for you. |
What? I can't see anything in my AppData and the config resides on the installation directory at |
The fallback (and portable) is the current directory. The error is in Program Files it can't create that file without admin permissions. Older versions of Windows didn't require that permission. This leads me to believe it doesn't have permission to use your %APPDATA% directory otherwise it wouldn't be using the fallback. // default dir should be %APPDATA%\Dev-Cpp
http://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.GetHomePath |
I have the same question. 哦,我把这个文件的权限加上了写入就可以了........... |
@FMXExpress |
Just run it on Administrator Mode |
嗯嗯,也可以,不过感觉给的权限少比较安全,只需要添加一个写入权限即可.不需要让他获取管理员权限. |
Yes, and I think it's a bug because the App doesn't check to write permission |
After installing the setup & opening Dev-C++ as non-admin, I get this error:
I can safely continue, however, any changes to config will not be saved once I close it.
Workaround is to Run as Admin.
The text was updated successfully, but these errors were encountered: