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: Sun, 15 Jul 2007 12:50: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 1184518321 32732 80.91.229.12 (15 Jul 2007 16:52:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 16:52:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 15 18:51:57 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 1IA7K4-0004yn-7H for ged-emacs-devel@m.gmane.org; Sun, 15 Jul 2007 18:51:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IA7K3-00016X-SC for ged-emacs-devel@m.gmane.org; Sun, 15 Jul 2007 12:51:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IA7IB-0006uY-Uq for emacs-devel@gnu.org; Sun, 15 Jul 2007 12:49:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IA7IA-0006r7-Cm for emacs-devel@gnu.org; Sun, 15 Jul 2007 12:49:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IA7IA-0006qt-1k for emacs-devel@gnu.org; Sun, 15 Jul 2007 12:49:54 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IA7I8-000463-6a for emacs-devel@gnu.org; Sun, 15 Jul 2007 12:49:53 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IA7Is-00005U-5D; Sun, 15 Jul 2007 12:50: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:74822 Archived-At: [I sent this message a few weeks ago 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 -------