- Code: Select all
cefclient.exe --cache-path=C:\Users\<user>\AppData\Local\CEFClient
will crash, but
- Code: Select all
cefclient.exe --cache-path=C:\Users\<user>\AppData\Local\Temp\CEFClient
is OK. Only the Debug build will crash due to use of DLOG macro.
As previously explained by naoki5, the problem is in IsPathSafeToSetAclOn which returns false if path is not under %TEMP%. But our application sets the cache path to "AppData\Local\<AppName>\Profiles\<profile>", not under Temp, which is similar to Chrome which uses "AppData\Local\Google\Chrome\User Data\<profile>". We would prefer not to move the cache path under Temp.
Is there a way to keep our cache folder directly under AppData\Local, like Chrome does?