unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Usernames with @ signs break "file being modified by another user" lock symlinks
@ 2007-07-04 18:56 Owen Jacobson
  2007-07-24  8:11 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: Owen Jacobson @ 2007-07-04 18:56 UTC (permalink / raw)
  To: bug-gnu-emacs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-24  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 18:56 Usernames with @ signs break "file being modified by another user" lock symlinks Owen Jacobson
2007-07-24  8:11 ` Jason Rumney

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).