From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Synacek Newsgroups: gmane.emacs.bugs Subject: bug#24656: 25.1; Emacs leaves lock files on a CIFS share Date: Mon, 10 Oct 2016 15:49:11 +0200 Message-ID: References: <83bmyse6zb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1476107431 6316 195.159.176.226 (10 Oct 2016 13:50:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 13:50:31 +0000 (UTC) Cc: 24656@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 10 15:50:27 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 1btay8-0008NX-V9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 15:50:17 +0200 Original-Received: from localhost ([::1]:50281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btayA-0008CO-EO for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 09:50:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btay0-00085V-Jd for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 09:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btaxu-0003z8-OJ for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 09:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btaxu-0003z2-Lj for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btaxu-00008T-Fj for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Synacek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2016 13:50: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.1476107360454 (code B ref 24656); Mon, 10 Oct 2016 13:50:02 +0000 Original-Received: (at 24656) by debbugs.gnu.org; 10 Oct 2016 13:49:20 +0000 Original-Received: from localhost ([127.0.0.1]:50706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btaxE-00007G-90 for submit@debbugs.gnu.org; Mon, 10 Oct 2016 09:49:20 -0400 Original-Received: from mail-io0-f173.google.com ([209.85.223.173]:35560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btaxB-000072-Mp for 24656@debbugs.gnu.org; Mon, 10 Oct 2016 09:49:18 -0400 Original-Received: by mail-io0-f173.google.com with SMTP id i202so110878591ioi.2 for <24656@debbugs.gnu.org>; Mon, 10 Oct 2016 06:49:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=n5ZFoLULwtXwFQHruWQejTRRLTgWeLuwdnxPGAJj6xc=; b=RA3MvsbHcNy020WocLu3KzQDKfPXWCKBxh2klrVY2Xl9LWrz+UoJ9A3DYrvNmAfbxU FVExReY7rZ266UPg0pkdGKX9VUCRthpf2PwGjLhwpMiLBl+pAJvfBdwhFM3FVi+lv0cV WOmaIMaPSenGVEfRFasXQ6b1LdLCJbKUjo4xmxdtvJ0xluSgOwSHxvvuwmPPRbWmVHHH ll7C+9A6FS21p937PS4B/7JdWTN6sZcjaItOOdkRAXFxTd6w3L2OqoEWlrOfO7jyvPbV tLXXBhDsrAiIvWaRBf7I0VbxAgLANynKK9VUKlmcusWB7yk8gkzSujwsyWHB5QaCAx9E VkIA== X-Gm-Message-State: AA6/9RmDh7tsBxVotcgu8T4EULLAYtadCL8lb54HDqvXsXKftF5kBayehP+Op3PJTW1XG2IQF1WkfYSkh6exeuim X-Received: by 10.107.62.9 with SMTP id l9mr30755315ioa.123.1476107351886; Mon, 10 Oct 2016 06:49:11 -0700 (PDT) Original-Received: by 10.107.145.2 with HTTP; Mon, 10 Oct 2016 06:49:11 -0700 (PDT) In-Reply-To: <83bmyse6zb.fsf@gnu.org> 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:124301 Archived-At: On Mon, Oct 10, 2016 at 2:14 PM, Eli Zaretskii wrote: >> From: jsynacek@redhat.com (Jan Syn=C3=A1=C4=8Dek) >> 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=EF=80=A21476081527 >> -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. The lock_file_1 correctly uses a path with a colon in it. Indeed, samba seems to substitute it. I tried to patch the emacs source to use a comma instead. It didn't get substituted by samba, but the lock file didn't go away when I exited emacs. --=20 Jan Synacek Software Engineer, Red Hat