From: Joey Hess Date: Mon, 23 Jun 2025 17:31:41 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20251029-1+rpi1~1^2~7^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bd741cc12853f32cc41e1e0fd273b84ec5a1bcbc;p=git-annex.git comment --- diff --git a/doc/bugs/openTempfile_invalid_argument_on_sd_card/comment_1_89e96808f0274df3d6144546a2761d57._comment b/doc/bugs/openTempfile_invalid_argument_on_sd_card/comment_1_89e96808f0274df3d6144546a2761d57._comment new file mode 100644 index 0000000000..c643020e83 --- /dev/null +++ b/doc/bugs/openTempfile_invalid_argument_on_sd_card/comment_1_89e96808f0274df3d6144546a2761d57._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2025-06-23T17:11:25Z" + content=""" +Reproduced this, and found the filename it's using with strace: + + joey@darkstar:~/tmp/annex>touch '/home/joey/mnt/Music/KIRA/KIRA - The Introduction (Deluxe Edition)/KIRA - The Introduction (Deluxe Edition) - 05 Games (feat566f1-3-1a21815. ' + touch: cannot touch '/home/joey/mnt/Music/KIRA/KIRA - The Introduction (Deluxe Edition)/KIRA - The Introduction (Deluxe Edition) - 05 Games (feat566f1-3-1a21815. ': Invalid argument + +The problem is the trailing space in the filename, which VFAT does not support: + + joey@darkstar:~/tmp/annex>touch '/home/joey/mnt/Music/KIRA/foo ' + touch: cannot touch '/home/joey/mnt/Music/KIRA/foo ': Invalid argument + +There was already a similar workaround for of not allowing a filename to +end with ".", so I made it also check for whitespace. +"""]]