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

Re: problem: hot-backup failing with access denied error

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2006-11-14 21:08:13 CET

2006/11/14, Daniel Rall <dlr@collab.net>:
> On Tue, 14 Nov 2006, Norbert Unterberg wrote:
[... lengthy text about hot-backup.py failing because of write
protected files deleted ...]
> > Analysis shows:
> > * the db\format file is write protected on all our repositories
> > * hot-backup.py keeps the write protect flag when performing the copy
> > * The shutil.rmtree(old_backup_subdir) command in hot-backup.py fails
> > because the file is write protected.
> >
> > This is not a permission error; the script works fine if I manually
> > remove the "w" flag from all files.
>
> Norbert, are any other files in your repository backup area
> write-protected?

It is only the two format files: format and db/format. For whatever
reason, svnadmin create sets the write protect flag just on that two
files.

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 14 21:18:30 2006

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