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: Wed, 04 Jul 2007 21:31:47 -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 1183599490 16407 80.91.229.12 (5 Jul 2007 01:38:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 01:38:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 03:38:09 2007 connect(): Connection refused 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 1I6GII-0005PC-QJ for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 03:38:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6GII-0003nG-0o for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2007 21:38:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6GCD-0006ZU-8g for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:31:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6GCC-0006Z9-Pe for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:31:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6GCC-0006Z4-Du for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:31:48 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6GCC-0004E5-3O for emacs-devel@gnu.org; Wed, 04 Jul 2007 21:31:48 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I6GCB-0006nX-Ja; Wed, 04 Jul 2007 21:31:47 -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:74326 Archived-At: Does this problem still happen in Emacs 22? If so, we should try to fix it. Perhaps the solution is to make filelock.c replace @ with some other, harmless character. 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 -------