From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Newsgroups: gmane.emacs.bugs Subject: bug#24656: 25.1; Emacs leaves lock files on a CIFS share Date: Mon, 10 Oct 2016 13:30:24 +0200 Message-ID: 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 1476099097 29879 195.159.176.226 (10 Oct 2016 11:31:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2016 11:31:37 +0000 (UTC) To: 24656@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 10 13:31:29 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 1btYnb-0005Cw-3h for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 13:31:15 +0200 Original-Received: from localhost ([::1]:48970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYnZ-0005aK-Lg for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2016 07:31:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYnU-0005aC-5u for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:31:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btYnP-0003mM-0M for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:31:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYnO-0003mH-Sp for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btYnO-0004km-Ob for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jsynacek@redhat.com (Jan =?UTF-8?Q?Syn=C3=A1=C4=8Dek?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2016 11:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24656 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147609904417057 (code B ref -1); Mon, 10 Oct 2016 11:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2016 11:30:44 +0000 Original-Received: from localhost ([127.0.0.1]:50571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btYn5-0004Qd-QN for submit@debbugs.gnu.org; Mon, 10 Oct 2016 07:30:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btYn3-0004IG-VK for submit@debbugs.gnu.org; Mon, 10 Oct 2016 07:30:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btYmx-0003Yj-NP for submit@debbugs.gnu.org; Mon, 10 Oct 2016 07:30:36 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYmx-0003Xq-Eu for submit@debbugs.gnu.org; Mon, 10 Oct 2016 07:30:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYmv-0005Tw-BE for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:30:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btYmq-0003Vk-4f for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:30:32 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:46722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btYmp-0003Va-UY for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2016 07:30:28 -0400 Original-Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8498A4E4D0 for ; Mon, 10 Oct 2016 11:30:26 +0000 (UTC) Original-Received: from jsynacek-ntb.brq.redhat.com (dhcp-24-182.brq.redhat.com [10.34.24.182]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9ABUOVi026085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 10 Oct 2016 07:30:25 -0400 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 10 Oct 2016 11:30:26 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:124299 Archived-At: Emacs leaves lock files on a CIFS share: 1) Setup a simple samba share (/etc/samba/smb.conf): ... [public] browsable =3D yes guest ok =3D yes path =3D read only =3D no 2) Mount it: # mount -t cifs ///public /mnt/tmp -o guest 3) # echo "hello emacs" > /mnt/tmp/test.txt 4) Fire up emacs -Q and start editing /mnt/tmp/test.txt. This is what I see on my system: # 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@js= ynacek-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? Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=3D1271407. --=20 Jan Synacek Software Engineer, Red Hat