summaryrefslogtreecommitdiff
path: root/doc/todo/read-only_removable_drives
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-05-16 18:10:28 +0000
committerGravatar admin <admin@branchable.com>2014-05-16 18:10:28 +0000
commit8ad37d684a56960f3e668b1595e0729e00c29c04 (patch)
treed2e414aac4fb7b19fdab76efeddc3b12986a3ba5 /doc/todo/read-only_removable_drives
parente59ad63896e44d5a7a5e92b1feb64cf58ff805dc (diff)
Added a comment
Diffstat (limited to 'doc/todo/read-only_removable_drives')
-rw-r--r--doc/todo/read-only_removable_drives/comment_1_979455e3694ae2403134ed6fa2add2fa._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/read-only_removable_drives/comment_1_979455e3694ae2403134ed6fa2add2fa._comment b/doc/todo/read-only_removable_drives/comment_1_979455e3694ae2403134ed6fa2add2fa._comment
new file mode 100644
index 000000000..ac98d6845
--- /dev/null
+++ b/doc/todo/read-only_removable_drives/comment_1_979455e3694ae2403134ed6fa2add2fa._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ ip="108.236.230.124"
+ subject="comment 1"
+ date="2014-05-16T18:10:28Z"
+ content="""
+The assistant ignores drives that it cannot write to. This is a very good heuristic to avoid listing every special device in linux, OSX, etc as possible removable drives. I don't think it makes sense for the assistant to try to handle this use case.
+
+Is there some problem using git-annex at the command line with a remote that is read-only? I don't see any problem in my tests.
+
+<pre>
+joey@darkstar:~/tmp/r>git annex drop
+drop foo ok
+(Recording state in git...)
+joey@darkstar:~/tmp/r>ls -ld ../readonly
+drwxr-xr-x 3 root root 4096 May 16 14:08 ../readonly/
+joey@darkstar:~/tmp/r>git annex get --from readonly
+get foo (from readonly...) ok
+(Recording state in git...)
+</pre>
+"""]]