From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG - Attachment directories with newlines Date: Wed, 05 Nov 2008 14:11:32 -0500 Message-ID: <87r65q9ee3.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxnn6-0007DP-If for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 14:11:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxnn4-0007Cj-1c for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 14:11:44 -0500 Received: from [199.232.76.173] (port=49901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxnn3-0007Cg-Q1 for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 14:11:41 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:49475) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kxnn3-00066E-Ln for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 14:11:41 -0500 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Kxnmy-000GQ5-Ud for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 19:11:37 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id mA5JBWJt020839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 5 Nov 2008 14:11:33 -0500 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id mA5JBWNS013946 for ; Wed, 5 Nov 2008 14:11:32 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Carsten, I've run into a problem with attachments. I tried opening an attachment for one of my tasks and it can't find it. As it turns out the attachment directory has an embedded newline in it like this: ,---- | bernt@gollum:~/git/org/data/c6$ find . -type d -ls | 5581153 4 drwxr-xr-x 4 bernt bernt 4096 Oct 24 15:59 . | 5581154 4 drwxr-xr-x 2 bernt bernt 4096 Oct 24 15:59 ./47cbe-2158-46ce-bd93-8faf5ca95725 | 5581156 4 drwxr-xr-x 2 bernt bernt 4096 Oct 24 17:05 ./47cbe-2158-46ce-bd93-8faf5ca95725\n | bernt@gollum:~/git/org/data/c6$ `---- and any files that were stored in the directory with the newline can't be found. The files are still there - just not retrievable from the org attachment system. I haven't bisected to find out where the problem was introduced. -Bernt