From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mhuhtala@abo.fi Newsgroups: gmane.emacs.help Subject: problem writing to a gvfs (sftp) directory Date: Thu, 26 Aug 2010 09:54:08 +0300 Message-ID: <20100826095408.f0g0j9nxs04k8k40@webmail2.abo.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282917837 10404 80.91.229.12 (27 Aug 2010 14:03:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 14:03:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 27 16:03:54 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OozX8-0006BA-BY for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Aug 2010 16:03:54 +0200 Original-Received: from localhost ([127.0.0.1]:49430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OozX7-0004zR-Fv for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Aug 2010 10:03:53 -0400 Original-Received: from [140.186.70.92] (port=35882 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoWoM-0007Y0-9M for help-gnu-emacs@gnu.org; Thu, 26 Aug 2010 03:23:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoWoK-00035P-Ny for help-gnu-emacs@gnu.org; Thu, 26 Aug 2010 03:23:45 -0400 Original-Received: from smtp2.abo.fi ([130.232.213.77]:42922) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoWoK-000352-BC for help-gnu-emacs@gnu.org; Thu, 26 Aug 2010 03:23:44 -0400 Original-Received: from webmail1.abo.fi (webmail2el5.abo.fi [130.232.212.31]) by smtp2.abo.fi (8.14.3/8.12.9) with ESMTP id o7Q6s8no015442 for ; Thu, 26 Aug 2010 09:54:08 +0300 Original-Received: from dsl-tkubrasgw1-ffc4c100-57.dhcp.inet.fi (dsl-tkubrasgw1-ffc4c100-57.dhcp.inet.fi [88.193.196.57]) by webmail2.abo.fi (Horde MIME library) with HTTP; Thu, 26 Aug 2010 09:54:08 +0300 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp2.abo.fi [130.232.213.77]); Thu, 26 Aug 2010 09:54:08 +0300 (EEST) X-Virus-Scanned: by roxy.abo.fi (roxy.abo.fi: Thu Aug 26 09:54:08 2010) X-Scanned-By: MIMEDefang 2.68 on 130.232.213.77 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 27 Aug 2010 10:00:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74814 Archived-At: Emacs seems to clobber files when trying to write to a gvfs-mounted =20 directory. This is not Tramp, just doing a plain save buffer, but into =20 a gvfs directory. I'm on Fedora 13 and I've connected to the server =20 with Nautilus using ssh, and then tried to edit files in e.g. ~/.gvfs/sftp for mhuhtala on hostmachine.fi/home/mhuhtala/ The first save (C-x C-s) from Emacs works, but the second or at the =20 latest the third time writes an empty file (size zero bytes). The =20 Emacs messages buffer says that the save was successful and there's no =20 sign of errors from Emacs or gvfs as far as I can tell. Doing the same =20 with Gedit works, so it seems to be an Emacs problem. Gedit happily =20 saves the files again and again, but Emacs silently wipes them, which =20 is not nice. I have a feeling that this is a frequently asked question, but I =20 wasn't able to find anything in the Emacs or Fedora bug trackers. Relevant versions: emacs-23.2-4.fc13.i686 gvfs-fuse-1.6.2-1.fc13.i686 The remote hosts are a Fedora 8 / 2.6.21.7-5.fc8xen / x86_64 and a =20 CentOS 5.5 /2.6.18-194.8.1.el5 / i686 system. Emacs behavior is the =20 same on both. The directories where I'm trying to write are =20 NFS-mounted on both of the remote hosts. Any ideas? Mikko