I am having a problem with a build script which does the following:
- Delete tree buildfolder
- Create buildfolder
- Subversion checkout
- build
The first time it runs, everything works. Subsequent times, the Delete tree action fails with error code 5 - access is denied.
The folder inherits permissions from its parent, and I have also verified manually, that "domain users" have full controll.
The Sysinternals filemon tool suggests that delete fails on the file ".svn\all-wcprops". The permissions on that file are the same: "domain users" have full control.
When deleting the folder using Windows Explorer, everything works fine.
The weird thing is that when I use subversion export instead of checkout, it works. But of course, a checkout doesn't create the .svn folders and subversion files.
I have tried a reboot to see if a different process should have the file open, but no success.
I am using "sliksvn" as the subversion tool.
Does anybody have any tips or suggestions?