diff --git a/doc/forum/Unlocked_files_confusion.mdwn b/doc/forum/Unlocked_files_confusion.mdwn index 224aefd6a8..6dfca5e097 100644 --- a/doc/forum/Unlocked_files_confusion.mdwn +++ b/doc/forum/Unlocked_files_confusion.mdwn @@ -1,9 +1,13 @@ +**EDIT:** Is there a way to apply ```annex.addunlocked``` permanently to a single file? It would be great if it could be added to the ```annex.largefiles``` options. This way a repository could have locked large files, unlocked large files, and regular files added directly to git. + +Leaving my confusion below for reference (Sorry should have read the unlocked files page more before I posted). + +--- + I'm having trouble getting unlocked files in version 7 repositories to work and I think I'm pretty confused (what I mean is that it's not git annex's fault). I have my Calibre library in a git-annex repo. I want ```metadata.db```, Calibre's sqlite database to stay unlocked but I don't get the expected results. Also I put ```metadata.db annex.largefiles=nothing``` in my ```.gitattributes``` file, could this be causing an issue? - - Version information: diff --git a/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment b/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment new file mode 100644 index 0000000000..83027ed2e9 --- /dev/null +++ b/doc/special_remotes/bup/comment_17_360caa8972c2daa94044cc95188306e9._comment @@ -0,0 +1,18 @@ +[[!comment format=sh + username="eigood" + avatar="http://cdn.libravatar.org/avatar/fa5ae017e5432f6cfbf82109a94afaea" + subject="Add support for bup daemon?" + date="2019-07-16T23:45:18Z" + content=""" +== +git annex --debug initremote originbup type=bup autoenable=true encryption=none buprepo=bup://localhost:1982/srv/app/fs/global-storage/XXXX/bup +... +[2019-07-16 23:24:01.852275553] process done ExitSuccess +(storing uuid...) [2019-07-16 23:24:01.852581845] call: ssh [\"bup\",\"-S\",\".git/annex/ssh/bup\",\"-o\",\"ControlMaster=auto\",\"-o\",\"ControlPersist=yes\",\"-n\",\"-T\",\"cd '//localhost:1982/srv/app/fs/global-storage/XXXX/bup' && git config annex.uuid 11ddfb21-f6ca-4281-a0a1-aef9b17437e0\"] +... +== + +Annex is attempting to ssh to a machine called \"bup\", then doing a cd to a very wrong path. To get this far, I had to do a few fixed to client.py in bup, as that code has decayed since 2017. I haven't yet looked at the annex source, to see why it needs to do that cd, but I would prefer *not* have ssh access for this. + +This scenario I have locally is git-annex+bup+duplicity running inside a reduced, isolated, docker-container, where everything is trusted, and I can throw all pieces away. +"""]]