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

[PATCH] improved behaviour of tools/backup/hot-backup.py

From: Roberto Reale <roberto.reale82_at_gmail.com>
Date: Fri, 2 Oct 2015 17:44:34 +0200

Hi everybody,

enclosed is a puny patch I wrote against the script
tools/backup/hot-backup.py.in.

When creating a backup archive of a live repository, the "legacy"
behaviour of the script is simply to call tar.add() on a hotdump copy.
This has, however, an inconvenience when the original repository is on
a POSIX filesystem and the hotcopy dump is written e.g. on a CIFS
filesystem, thus leading to a possible "permission leakage".

My patch changes this behaviour by letting the script build up the
archive file by file, and paying special care in copying the
permissions for each file from the repository itself rather than from
the hotcopy dump.

Do you think it would be useful?

Regards,
Roberto

Received on 2015-10-02 17:45:14 CEST

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.