diff options
author | https://www.google.com/accounts/o8/id?id=AItOawljcHBnBhazpDpk5k_9Wk9S_zA0hnjqdLQ <Andreas@web> | 2013-05-13 08:06:01 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-05-13 08:06:01 +0000 |
commit | 78e6a27167a4f7a491ba3aa34f6f04b0e3da79eb (patch) | |
tree | 70dcf57fae4aed6cfe679102c4c44f58cbd8dcef /doc/bugs | |
parent | c8fa4eaee50c06adc304994709d399a0de53ede0 (diff) |
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/Local_files_not_found.mdwn | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/bugs/Local_files_not_found.mdwn b/doc/bugs/Local_files_not_found.mdwn new file mode 100644 index 000000000..b7e833837 --- /dev/null +++ b/doc/bugs/Local_files_not_found.mdwn @@ -0,0 +1,48 @@ +### Please describe the problem. + +I have a git annex repo which cannot find the files with whereis, even though the files and contents are there. I have changed ownership of all the files. I am not sure, but I think that is when the problem was introduced. The current user that is invoking git annex owns and can access all files in the repository/annex) + +Creating a new repository from scratch works just fine. + + +### What steps will reproduce the problem? + + # (in my current, somehow corrupt annex) + $ echo hello > testfile + $ git annex add testfile + add testfile (checksum...) ok + (Recording state in git...) + $ git commit -am testfile + [master 73ed120] testfile + 1 file changed, 1 insertion(+) + create mode 120000 testfile + $ git annex whereis testfile + whereis testfile (0 copies) failed + git-annex: whereis: 1 failed + + + # The contents exists though + $ ls -l testfile + lrwxrwxrwx 1 ftp ftp 176 May 13 09:43 testfile -> .git/annex/objects/P5/4q/SHA256-s6--5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03/SHA256-s6--5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03 + $ cat .git/annex/objects/P5/4q/SHA256-s6--5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03/SHA256-s6--5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03 + hello + $ sha256sum testfile + 5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03 testfile + + + # the file can be found when unlocking/locking + $ git annex unlock testfile + unlock testfile (copying...) ok + $ git annex lock testfile + lock testfile ok + (Recording state in git...) + +### What version of git-annex are you using? On what operating system? +I ran Debian squeeze, with git annex 3.20120629~bpo60+2 when the problem was introduced. I just upgraded to wheezy, but the same problem exists with 3.20120629 from wheezy. + +I also manually installed 4.20130501 from unstable, which also showed the same problem. + + +### Please provide any additional information below. + +I am not sure what information to supply, please provide pointers on what information might be useful. |