From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24656: 25.1; Emacs leaves lock files on a CIFS share Date: Mon, 10 Oct 2016 15:14:32 +0300 Message-ID: <83bmyse6zb.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1476101845 17144 195.159.176.226 (10 Oct 2016 12:17:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 12:17:25 +0000 (UTC) Cc: 24656@debbugs.gnu.org To: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 10 14:17:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btZVy-0001wt-5y for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 14:17:06 +0200 Original-Received: from localhost ([::1]:49270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btZVw-0005cc-OE for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 08:17:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btZU2-0004Bw-0b for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 08:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btZTy-0003ky-Rq for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 08:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btZTy-0003ks-Op for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 08:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btZTy-0006Jx-KA for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2016 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24656 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24656-submit@debbugs.gnu.org id=B24656.147610167224243 (code B ref 24656); Mon, 10 Oct 2016 12:15:02 +0000 Original-Received: (at 24656) by debbugs.gnu.org; 10 Oct 2016 12:14:32 +0000 Original-Received: from localhost ([127.0.0.1]:50614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btZTU-0006Iw-CS for submit@debbugs.gnu.org; Mon, 10 Oct 2016 08:14:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btZTT-0006Ii-2v for 24656@debbugs.gnu.org; Mon, 10 Oct 2016 08:14:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btZTI-0003Tn-BQ for 24656@debbugs.gnu.org; Mon, 10 Oct 2016 08:14:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btZTI-0003T6-8Q; Mon, 10 Oct 2016 08:14:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3536 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1btZTG-0004DS-FM; Mon, 10 Oct 2016 08:14:18 -0400 In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124300 Archived-At: > From: jsynacek@redhat.com (Jan Synáček) > Date: Mon, 10 Oct 2016 13:30:24 +0200 > > # ls -la /mnt/tmp/ > total 9 > drwxrwxrwx+ 2 root root 0 Oct 10 13:21 . > drwxr-xr-x. 1 root root 20 Jul 15 10:33 .. > lrwxrwxrwx. 1 nfsnobody nfsnobody 54 Oct 10 13:21 .#test.txt -> jsynacek@jsynacek-ntb.brq.redhat.com.57671476081527 > -rw-rw-rw-+ 1 jsynacek users 10 Oct 10 13:16 test.txt > > When I save the file and quit emacs, the lock file stays there. It > should be removed. Maybe it's because of the weird 0xF022 sequence in > the file name? That 0xF022 should have been a colon ':'. Can you step with a debugger through lock_file_1 and see how this file name happens to come up? Is it possible that Samba doesn't allow the colon characters in its file names, and the network re-director replaces the colon with that strange character? If so, would using a different character, like comma, fix the problem? Thanks.