From 763882925daee55584e68f9b0915ecd72877b14f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 31 Oct 2010 17:04:28 -0400 Subject: [PATCH] idea2 --- doc/todo/immutable_annexed_files.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/todo/immutable_annexed_files.mdwn b/doc/todo/immutable_annexed_files.mdwn index 8f19f4f744..e5207dc163 100644 --- a/doc/todo/immutable_annexed_files.mdwn +++ b/doc/todo/immutable_annexed_files.mdwn @@ -1,3 +1,6 @@ > josh: Do you do anything in git-annex to try to make the files immutable? > For instance, removing write permission, or even chattr? > joey: I don't, but that's a very good idea +> josh: Oh, I just thought of another slightly crazy but handy idea. +> josh: I'd hate to run into a program which somehow followed the symlink and then did an unlink to replace the file. +> josh: To break that, you could create a new directory under annex's internal directory for each file, and make the directory have no write permission.