blob: a1f490061354ef7b12b9901a355bf3e3e3f6cdfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
### Please describe the problem.
I started the webapp on a pre-existing repo today, and it started adding all sorts of files which I didn't manually add, which is a little bit surprising, but "okay".
The problem is that it would loop over this one file over and over again. Adding it on the commandline yields a proper error, but this doesn't seem to properly propagate to the frontend.
### What steps will reproduce the problem?
Unclear.
### What version of git-annex are you using? On what operating system?
4.20131105-g8efdc1a
### Please provide any additional information below.
Here's the daemon.log:
[[!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
add clips/A31-05-12_21.22.amr (checksum...) [2013-11-06 10:21:10 EST] Committer: Committing changes to git
[2013-11-06 10:21:11 EST] Committer: Adding A31-05-12_21.22.amr
(Recording state in git...)
(Recording state in git...)
add clips/A31-05-12_21.22.amr (checksum...) [2013-11-06 10:21:11 EST] Committer: Committing changes to git
[2013-11-06 10:21:12 EST] Committer: Adding A31-05-12_21.22.amr
(Recording state in git...)
(Recording state in git...)
add clips/A31-05-12_21.22.amr (checksum...) [2013-11-06 10:21:12 EST] Committer: Committing changes to git
[2013-11-06 10:21:13 EST] Committer: Adding A31-05-12_21.22.amr
(Recording state in git...)
add clips/A31-05-12_21.22.amr (checksum...) [2013-11-06 10:21:13 EST] Committer: Committing changes to git
[2013-11-06 10:21:14 EST] Committer: Adding A31-05-12_21.22.amr
(Recording state in git...)
(Recording state in git...)
add clips/A31-05-12_21.22.amr (checksum...) [2013-11-06 10:21:14 EST] Committer: Committing changes to git
# End of transcript or log.
"""]]
And here's the attempt on the commandline, which is way more informative:
[[!format sh """
anarcat@marcos:video$ git annex add .
add clips/96_257.mp3 ok
add clips/A31-05-12_21.22.amr (checksum...)
git-annex: /srv/video/.git/annex/objects/z3/96/SHA256E-s260070--46f0d657cdd79032d431e2aebb04b63685ab26e7d00963036e0b64c9f86998f8.22.amr/SHA256E-s260070--46f0d657cdd79032d431e2aebb04b63685ab26e7d00963036e0b64c9f86998f8.22.amr: setFileMode: permission denied (Operation not permitted)
failed
"""]]
Turns out that file is owned by root, so it's an expected failure. But the webapp should simply skip this file, not loop over it.
The workaround is obviously to give this file to the proper user. --[[anarcat]]
> [[fixed|done]] --[[Joey]]
|