From d92a1f712248416dc71ac98607a7a3bea9898881 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawm_YXzEdPHzbSGVwtmTR7g1BqDtTnIBB5s" Date: Wed, 7 Jan 2015 12:06:15 +0000 Subject: [PATCH] Added a comment: File immutability --- ...ment_2_7bf74adb5556b7fc74a94e751c5fd3d6._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/internals/lockdown/comment_2_7bf74adb5556b7fc74a94e751c5fd3d6._comment diff --git a/doc/internals/lockdown/comment_2_7bf74adb5556b7fc74a94e751c5fd3d6._comment b/doc/internals/lockdown/comment_2_7bf74adb5556b7fc74a94e751c5fd3d6._comment new file mode 100644 index 0000000000..72d24a283a --- /dev/null +++ b/doc/internals/lockdown/comment_2_7bf74adb5556b7fc74a94e751c5fd3d6._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawm_YXzEdPHzbSGVwtmTR7g1BqDtTnIBB5s" + nickname="Matthias" + subject="File immutability" + date="2015-01-07T12:06:15Z" + content=""" +# setcap cap_linux_immutable+ep /usr/bin/git-annex + +After doing that, git-annex is able to make files immutable, so the additional directory is not needed any more. +Even on file systems / in environments where that is not possible, in some situations file lookup speed is way more important than not being able to delete the target of a symlink. + +I have no idea how to code in Haskell, so if somebody else could add an appropriate always/never/only-when-necessary config option I'd be very happy, and my media server would not have any more hiccups when switching songs … +"""]]