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

Making file immutable in working copy

From: Lasse Kliemann <lasse-subversion-users-2004_at_plastictree.net>
Date: Thu, 25 Sep 2008 21:13:19 +0200

How do I make a versioned file in a working copy immutable, i.e.,
prevent it from being changed (especially from being deleted) by
subsequent 'svn up' operations?

Removing the write permissions in the file system is not
sufficient. One could use 'chattr +i ...', but that involves
superuser privileges (or special capability settings). There must
be a simpler way.

Rationale: I know that one can always get an old version of the
file from the repository. However, I am concerned with the case
when the server holding the repository is compromised. Yes, then
I play in a backup. However, my users want to be as independent
as possible from any centralized solution; they want to rely on
certain files never changing in their working copies, at least
not without their explicit consent.

  • application/pgp-signature attachment: stored
Received on 2008-09-25 20:45:20 CEST

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

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