It seems that Cygwin’s subversion port and Tortoise SVN do not play well together. A default installation of both can result in the following error occuring seemingly at random during long checkout or update operations:
Can't move '/cygdrive/c/xxx/trunk/.svn/tmp/entries' to '/cygdrive/c/xxx/trunk/.svn/entries': Permission denied
To resolve this, Tortoise SVN’s icon overlays may need to be disabled entirely as suggested here. While Tortoise SVN doesn’t have a Disable overlays checkbox, they may be effectly disabled as follows:
- <SecondaryClickContextMenu> > Tortoise SVN > Settings > Icon Overlays
- Ensure the checkout directory is included in the Exclude paths mask (I’ve taken to using
c:*andc:*).
Others have suggested that it may not be necessary to disable Tortoise SVN’s overlays entirely, as long as the Show overlays only in explorer tickbox is ticked. This didn’t work for me; your kilometerage may vary.
As of Subversion 1.5 I’ve found it necessary to remove TortoiseSVN completely to overcome this problem.