[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

permission denied on windows

From: solo turn <soloturn99_at_yahoo.com>
Date: 2004-04-05 15:37:03 CEST

still i think svn has a somehow broken/non-intuitive working copy mechanism (including locking,
and cleanup) used from cygwin. i don't know if cygwin is responsible or svn. i get the following
errors:

$ svn up
...
svn: In directory 'proj/myproj/abc/src'
svn: Error processing command 'delete-entry' in 'proj/myproj/abc/src'
svn: Can't remove 'proj/myproj/abc/src/ui3/utils/.svn': Access is denied.

$ svn cleanup
svn: In directory 'proj/myproj/abc/src'
svn: Error processing command 'delete-entry' in 'proj/myproj/abc/src'
svn: Can't remove 'proj/myproj/abc/src/ui3/mail/.svn': Access is denied.

$ svn cleanup
svn: In directory ''
svn: Error processing command 'delete-entry' in ''
svn: Can't remove 'ui3/mailclient/.svn': Access is denied.

$ cd proj/ubs/abc/src

$ cd ui3/

$ svn cleanup

$ cd ..

$ svn st
! L .
? ui3\utils
? ui3\mail
? ui3\mailclient
! L ui3
  L ui3\pred

$ svn cleanup
svn: In directory ''
svn: Error processing command 'delete-entry' in ''
svn: Can't remove 'ui3/pred/.svn': Access is denied.

$ svn st
! L .
? ui3\utils
? ui3\mail
? ui3\mailclient
? ui3\pred
! L ui3

$ svn st
? utils
? mail
? mailclient
? pred
! L .
  L term

$ svn cleanup

$ svn st
? utils
? mail
? mailclient
? pred
! .

$ cd ..

$ svn cleanup
svn: In directory ''
svn: Error processing command 'delete-entry' in ''
svn: Can't remove 'ui3/term/.svn': The process cannot access the file because it is being used by
 another process.

(this time, i blocked the .svn directory with a file-browser in that directory, just to show that
the error is different, no "permission denied").

$ cd ui3/

$ svn st
? utils
? mail
? mailclient
? pred
? term
! L .

in ui3/.svn there is a file called "log" with:
<delete-entry
name="ui3"/>

so after a few runs it ends up with:
$ svn st
? ui3
! .

$ rm -rf ui3
(which works)

what i'm wondering:
1. why the error-message is on a different level:
 proj/myproj/abc/src
 proj/myproj/abc/src/ui3/mail/.svn

if ui3 is to be thrown away, then something like a "rm -rf" should be sufficient, if there is no
modification inside ui3?

2. the "log" on a distinct level violates somehow the "a working copy can be copied on any level",
cause inside ui3 you do not see anything about the deletion.

3. directories like "mailclient" contain just an empty ".svn"
   after the error, and are shown with status "?".
   everything else is gone. there were a few .java files
   in mailclient, and .svn was a normal working copy directory.

is there a possibility to print out more details on that error when it occurs? like the current
permission, and the permissions of the process? what i did not do this time (but what i will do
the next time): try it also from the normal windows command line, just to make sure.

i'm sorry that we don't have any windows build tools here, and nobody who is able to add that
thing to the code.

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 15:37:24 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.