I've tried to set-up symfony 2 on Windows 7.
When running the phpunit test suite, I encountered a strange "Permission denied" error although I was running the script with administrator priviledges.
After debugging for a while, it seems like the test is run multiple times within the same CLI instance. The first time it is run, the test folder is created without problems. The second time, it already exists and it is consequentially being removed via rmdir(), and then re-created with mkdir(). The latter results in the "Permission denied" error.
The suggested fix appends an incrementing number to the base test folder, so that the above case never exists. Alternatively, you could avoid calls to rmdir()/mkdir() if the folder already exists.
Wed Sep 15 04:10:39 -0700 2010
4347f9f
Thu Sep 23 00:07:01 -0700 2010
Can you create a ticket for that problem? Your fix cannot be merge as it does not fixes the problem but is just a workaround.
Thu Sep 23 00:31:29 -0700 2010
Done: http://trac.symfony-project.org/ticket/9091
Any idea what the actual problem is?
Thu Sep 23 07:22:44 -0700 2010
I don't have windows on my machine, so I have no idea.