From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [ojacobson@riptown.com: Usernames with @ signs break "file being modified by another user" lock symlinks] Date: Mon, 23 Jul 2007 00:28:38 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1185165048 7500 80.91.229.12 (23 Jul 2007 04:30:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 04:30:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 06:30:47 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICpZD-0004mp-Ql for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2007 06:30:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICpZD-0001b2-9X for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2007 00:30:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICpVm-00006f-T7 for emacs-devel@gnu.org; Mon, 23 Jul 2007 00:27:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICpVm-00006G-9R for emacs-devel@gnu.org; Mon, 23 Jul 2007 00:27:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICpVl-00006A-VQ for emacs-devel@gnu.org; Mon, 23 Jul 2007 00:27:10 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICpVl-0006Xo-L0 for emacs-devel@gnu.org; Mon, 23 Jul 2007 00:27:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ICpXC-0002wS-Tr; Mon, 23 Jul 2007 00:28:38 -0400 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75352 Archived-At: [I sent this message twice but did not get a response. Could we get the discussion moving again?] I think this problem still happens in Emacs 22. I think the fix is to establish a quoting convention for strange characters in the user name. Perhaps quoted printable encoding. Would someone please DTRT and ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-class: urn:content-classes:message Date: Wed, 4 Jul 2007 11:56:01 -0700 Thread-Topic: Usernames with @ signs break "file being modified by another user" lock symlinks Thread-Index: Ace+bPbRNXE5CCpgEdy/dwAX8giFnA== From: "Owen Jacobson" To: Subject: Usernames with @ signs break "file being modified by another user" lock symlinks This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (powerpc-apple-darwin8.0) of 2007-05-08 on s11-cp04-07.corp.kazootek.com configured using `configure --prefix=/usr --mandir=/usr/share/man - --infodir=/usr/share/info --disable-dependency-tracking --without-x' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1. Create a username* with an @ symbol in it (eg "test@localhost") and su to it. 2. emacs test.txt 3. Enter some text and attempt to save it. Emacs will warn that the file is in use by another process and report its own PID, despite being the only editor accessing the file. Examining the output of ls -l while this prompt is displayed shows a symlink named .#filename, linked to test@localhost@MACHINENAME.PID I've verified this on a linux system with a normal local user named "test@localhost" as well; this is not dependant on directory-based usernames. * This came up because the machine I normally use, a Mac, has been bound into an OpenDirectory domain and my username (as seen in $USER and friends) is ojacobson@DOMAIN.COM. _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------