rename temp cache warning access denied

Notice: This thread is very old.
meridius
Member | 34
+
+1
-

Nette 2.3 is sometimes throwing an Access denied warning when trying to rename temp cache file. This is happening on Windows with IIS 7.5.
Whole project directory is accessible by users IUSR and IIS_IUSRS with full access.
Tracy report is here https://drive.google.com/…cUxrbFk/view
Everything else seems to be working.

Is anyone having this too?

chloris
Member | 23
+
0
-

I have exactly the same issue. Looks like it is because of concurrent requests. I have an application with API and sometimes when two concurrent request simultaneously access the API, it probably tries to call the rename function in two separate threads resulting in the same warning as yours.

My Tracy report is here http://www.ikit.cz/…7d21ed9.html

Windows, Apache 2.4.18, PHP 7.0.3, Nette 2.3.8

David Grudl
Nette Core | 8228
+
0
-

Can you try this fix? https://github.com/…d21f239f90bf

chloris
Member | 23
+
0
-

Still the same issue :-(. It seems to happen only on Windows development environment. It runs OK (at least until now) on Linux production environment.

http://www.ikit.cz/…4505ac0.html