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

RE: import and commit fail with svn_error: #21106

From: Mehmet Birgi <memo_at_otego.com>
Date: 2002-05-24 13:53:06 CEST

I guess Philip is right, it's the read-only attribute. The same problem also
occurs when I delete directly from the repository (with the url instead of
target option) and try to update the local copy later. Using the --force
option of the delete command also doesn't help. As far as I can see, there
doesn't seem to be a simple workaround (the non-simple workaround being the
manual deletion in the working copy :-).

I will have to wait for you guys to implement a fix for this one.

Thanks anyway,

Memo

> -----Original Message-----
> From: Philip Martin [mailto:pm@localhost]On Behalf Of Philip Martin
> Sent: Friday, May 24, 2002 13:31
> To: dev@subversion.tigris.org
> Subject: Re: import and commit fail with svn_error: #21106
>
>
> "Mehmet Birgi" <memo@otego.com> writes:
>
> > C:\home\tmp\svn\project2>svn commit -m ""
> > Deleting lib
> >
> > svn_error: #21002 : <A general problem occured>
> > Commit succeeded, but other errors follow:
> >
> > apr_error: #22505, src_err 0 : <Access is denied. >
> > Error bumping revisions post-commit (details follow):
> >
> > apr_error: #22505, src_err 0 : <Access is denied. >
> > error removing administrative directory for
> C:/home/tmp/svn/project2/lib
> >
> > C:\home\tmp\svn\project2>
> >
> >
> > </session-transcript>
>
> I guess this is because the files under lib/.svn/ are read-only. The
> directory is deleted by calling apr_dir_remove() on lib/. It appears
> that somewhere we have to reset the read-only status.
>
> We could put a recursive descent into svn_io_remove_dir to call
> svn_io_set_file_read_write on all it's files. That would match the
> behaviour of svn_io_remove_file. I'm not sure whether this code
> really belongs in Subversion or whether it should be in APR, from my
> Unix background I expect apr_remove_file/apr_remove_dir to just work.
>
> >
> > As this problem seems to be happening locally, on a win2000
> system, I am not
> > sure what permissions are being talked about here. Funny thing I noticed
> > playing around: I also get access denials on some files when I
> try to delete
> > them in the DOS-Box:
> >
> > <session-transcript>
> >
> > C:\home\tmp\svn\project2>del lib /s /q
> > C:\home\tmp\svn\project2\lib\.svn\dir-wcprops
> > Access is denied.
> > C:\home\tmp\svn\project2\lib\.svn\entries
> > Access is denied.
> > C:\home\tmp\svn\project2\lib\.svn\format
> > Access is denied.
> > C:\home\tmp\svn\project2\lib\.svn\README
> > Access is denied.
> > C:\home\tmp\svn\project2\lib\.svn\auth\password
> > Access is denied.
> > C:\home\tmp\svn\project2\lib\.svn\auth\username
> > Access is denied.
>
> Looks like del won't delete read-only files either.
>
>
> --
> Philip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 24 13:55:19 2002

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.