Package: git-annex
Version: 3.20121017
Severity: wishlist
I tried to fetch a file from a read-only file system. This resulted in
the following output.
$ git annex get somefile
get somefile (from someremote...)
Unable to access these remotes: someremote
Try making some of these repositories available:
some-uuid -- someremote
failed
git-annex: get: 1 failed
$
After remounting the filesystem that carries someremote writeable, the
command above worked without problems.
Additionally I tried to track down the issue using strace. The search is
quick once you know, you are looking for EROFS:
mkdir("/path/to/someremote/.git/annex/transfer", 0777) = -1 EROFS (Read-only
file system)
If it is too much work to support this use case, please improve the
error message. The current state is very confusing since I can git pull
from the read-only remote without any problems.
Helmut
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]