summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://jspk.clavid.com/ <flabbergast@web>2013-10-25 10:34:36 +0000
committerGravatar admin <admin@branchable.com>2013-10-25 10:34:36 +0000
commit77013735ec0f121d53a5eb382c7887a8b8ec4763 (patch)
treeb4cfc116a874ae3152792aab459b2a1f4f4efe69
parent29ef5af3c7f713f813a7b9f50d2bd1bc5214421d (diff)
-rw-r--r--doc/bugs/directory_remote_+_shared_encryption_+_chunk_size___61___lost_files__63__.mdwn49
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/bugs/directory_remote_+_shared_encryption_+_chunk_size___61___lost_files__63__.mdwn b/doc/bugs/directory_remote_+_shared_encryption_+_chunk_size___61___lost_files__63__.mdwn
new file mode 100644
index 000000000..4e1e4975a
--- /dev/null
+++ b/doc/bugs/directory_remote_+_shared_encryption_+_chunk_size___61___lost_files__63__.mdwn
@@ -0,0 +1,49 @@
+### Please describe the problem.
+
+When I create a directory special remote, with encryption enabled (shared) and a chunk size restriction (any), I can copy files *to* the remote, but git annex can't find/access them afterwards.
+
+If I do the same, just without specifying chunk size, it works fine. Restricting chunk size on FAT filesystems to something less that 4GB is necessary (otherwise storing bigger files will just fail).
+
+### What steps will reproduce the problem?
+
+Assume `~/annex` is a normal git annex repository and it contains a file `data.file`.
+
+ # cd ~/annex
+ # mkdir /tmp/remote
+ # git annex initremote dirremote type=directory directory=/tmp/remote encryption=shared chunksize="300 megabytes"
+ initremote remote4 (encryption setup) (shared cipher) ok
+ (Recording state in git...)
+ # git annex copy --to dirremote data.file
+ copy data.file (gpg) (to remote4...)
+ ok
+ (Recording state in git...)
+ # git annex fsck --from dirremote
+ fsck data.file (gpg) (fixing location log)
+ ** Based on the location log, data.file
+ ** was expected to be present, but its content is missing.
+ failed
+ (Recording state in git...)
+ git-annex: fsck: 1 failed
+
+The file is actually in the remote, e.g. `ls -R /tmp/remote` (shortened output):
+
+ /tmp/remote/be5/af7/GPGHMACSHA1--cb23b50579bf69be9cdc0243b6fda1f66218eb43:
+ GPGHMACSHA1--cb23b50579bf69be9cdc0243b6fda1f66218eb43
+ GPGHMACSHA1--cb23b50579bf69be9cdc0243b6fda1f66218eb43.chunkcount
+
+### What version of git-annex are you using? On what operating system?
+
+- mac OS X (10.8.5)
+- git-annex version: 4.20131002-gf25991c
+- `PATH` variable has `/Applications/git-annex.app/Contents/MacOS/bundle` at the front, so if git-annex comes with a binary, it is used
+
+
+### Please provide any additional information below.
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+
+
+# End of transcript or log.
+"""]]