When you do an SVN update in iTest, you get:
org.tigris.subversion.javahl.ClientException: Access is denied. svn: Error resolving case of 'C:\Users\dclaar\My Documents\itest\main\dev'
The problem is windows 7's goofy protections. You can see this by using the icacls command:
C:\Users\dclaar\Documents\itest>icacls "C:\Users\dclaar\My Documents" C:\Users\dclaar\My Documents Everyone:(DENY)(S,RD) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Administrators:(I)(OI)(CI)(F) FOO\dclaar:(I)(OI)(CI)(F) LT-DCLAAR-WIN7\dclaar:(I)(OI)(CI)(F)
You'll need to remove the DENY bit. Go to the start menu, find Command Prompt
under Accessories
. Right click on it, and select Run as Administrator
. (If you try to do this with just the standard command prompt, it will fail). Click OK on the popup. Remove Everyone. Be careful! You could mess up your system if you do it wrong! Note that--as shown above--FOO\dclaar
(as a little plumber would say: dat's a me!) will still have permission after Everyone
is removed. We're just taking out the riff-raff.
C:\Windows\system32>icacls "C:\Users\dclaar\My Documents" /L /remove Everyone processed file: C:\Users\dclaar\My Documents Successfully processed 1 files; Failed processing 0 files
And, now you can ask "Where did Everyone go?"
C:\Users\dclaar\Documents\itest>icacls "C:\Users\dclaar\My Documents" C:\Users\dclaar\My Documents NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Administrators:(I)(OI)(CI)(F) FOO\dclaar:(I)(OI)(CI)(F) LT-DCLAAR-WIN7\dclaar:(I)(OI)(CI)(F)
Everyone is gone! Ah, don't be sad, SVN will work, even if My Documents is lonely.