unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jsynacek@redhat.com (Jan Synáček)
To: 24656@debbugs.gnu.org
Subject: bug#24656: 25.1; Emacs leaves lock files on a CIFS share
Date: Mon, 10 Oct 2016 13:30:24 +0200	[thread overview]
Message-ID: <m6f37k4l9v3.fsf@jsynacek-ntb.brq.redhat.com> (raw)


Emacs leaves lock files on a CIFS share:

1) Setup a simple samba share (/etc/samba/smb.conf):
...
[public]
 browsable = yes
 guest ok = yes
 path = <path to the share>
 read only = no

2) Mount it:
# mount -t cifs //<server>/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@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?

Originally reported at
https://bugzilla.redhat.com/show_bug.cgi?id=1271407.

-- 
Jan Synacek
Software Engineer, Red Hat





             reply	other threads:[~2016-10-10 11:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 11:30 Jan Synáček [this message]
2016-10-10 12:14 ` bug#24656: 25.1; Emacs leaves lock files on a CIFS share Eli Zaretskii
2016-10-10 13:49   ` Jan Synacek
2016-10-10 15:49     ` Eli Zaretskii
2016-10-11  6:32       ` Jan Synacek
2016-10-11  6:49         ` Eli Zaretskii
2016-10-11  6:52           ` Jan Synacek
2016-10-11 15:59           ` Paul Eggert
2016-10-11 16:29             ` Eli Zaretskii
2016-10-11 16:53               ` Paul Eggert
2016-10-11 17:07                 ` Eli Zaretskii
2016-10-11 20:15                   ` Paul Eggert
2016-10-11 20:58                     ` Eli Zaretskii
2016-10-11 22:46                       ` Paul Eggert
2016-10-12  6:40                         ` Eli Zaretskii
2016-10-12 16:21                           ` Paul Eggert
2016-10-12 16:53                             ` Eli Zaretskii
2016-10-11 17:43             ` Achim Gratz
2016-10-11 18:16               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m6f37k4l9v3.fsf@jsynacek-ntb.brq.redhat.com \
    --to=jsynacek@redhat.com \
    --cc=24656@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).