Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-07-03 16:41:13 -04:00
commit 3867c3d3bc
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,25 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.55"
subject="comment 1"
date="2014-07-03T20:10:41Z"
content="""
This is not an installation problem; the /data/app-lib message is a red herring.
Is /sdcard/mediashare a directory that already existed? If so, perhaps it's some \"mediashare\" thing that has a even more crippled filesystem than usual. Seems possible, but I don't know. Want to rule it out..
The actual failure seems to be when git tries to write to its config.lock file, and changes its permissions. This is a recent change in git, commit daa22c6f8da466bd7a438f1bc27375fd737ffcf3, \"config: preserve config file permissions on edits\".
[[!language C \"\"\"
+ if (fchmod(fd, st.st_mode & 07777) < 0) {
+ error(\"fchmod on %s failed: %s\",
+ lock->filename, strerror(errno));
+ ret = CONFIG_NO_WRITE;
+ goto out_free;
+ }
\"\"\"]]
This seems utterly innocuous; the config file has some mode, and this just sets that same mode back (excluding some high bit flags). But Android goes out of its way to make /sdcard the most craptacular filesystem in use on any Linux system, so I'm not really surprised that it might just refuse all fchmod even when it's a no-op. (This is the only fchmod call currently in git.)
I've patched the bundled git to work around this. Will be a while until there is an updated autobuild..
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.55"
subject="comment 2"
date="2014-07-03T20:13:57Z"
content="""
Thanks, this is then a dup of [[bugs/Android_fails_on_Google_Nexus_10_Jellybean]].
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="cbaines"
ip="82.19.50.118"
subject="comment 2"
date="2014-07-03T20:13:20Z"
content="""
Thanks for your response.
The method you describe sounds like it might just do. I'll have a try, and see if it works out :)
"""]]