* [jidanni@jidanni.org: just try once to create ~/.emacs.d]
@ 2006-03-03 10:25 Richard Stallman
2006-03-04 15:11 ` Chong Yidong
0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2006-03-03 10:25 UTC (permalink / raw)
Would someone please DTRT and ack?
------- Start of forwarded message -------
From: Dan Jacobson <jidanni@jidanni.org>
To: bug-gnu-emacs@gnu.org
Date: Sun, 26 Feb 2006 07:25:37 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: just try once to create ~/.emacs.d
One day try
# su - nobody
$ emacs
You'll get these messages, more than one a minute:
make-directory: Creating directory: permission denied, //.emacs.d
OK, but how about have it just try once, else "frequent visual bells
may send some users into epileptic seizures, and who's going to pay
for that?"
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [jidanni@jidanni.org: just try once to create ~/.emacs.d]
2006-03-03 10:25 [jidanni@jidanni.org: just try once to create ~/.emacs.d] Richard Stallman
@ 2006-03-04 15:11 ` Chong Yidong
2006-03-06 0:48 ` Richard Stallman
0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2006-03-04 15:11 UTC (permalink / raw)
Cc: emacs-devel
> One day try
> # su - nobody
> $ emacs
> You'll get these messages, more than one a minute:
> make-directory: Creating directory: permission denied, //.emacs.d
> OK, but how about have it just try once, else "frequent visual bells
> may send some users into epileptic seizures, and who's going to pay
> for that?"
Can you reproduce it with emacs -q? I can't. Could you try to figure
out what Lisp code is trying to make .emacs.d, or at least give a more
precise recipe for reproducing the bug (starting from emacs -q)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [jidanni@jidanni.org: just try once to create ~/.emacs.d]
2006-03-04 15:11 ` Chong Yidong
@ 2006-03-06 0:48 ` Richard Stallman
2006-03-06 23:37 ` Dan Jacobson
0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2006-03-06 0:48 UTC (permalink / raw)
Cc: emacs-devel, jidanni
> One day try
> # su - nobody
> $ emacs
> You'll get these messages, more than one a minute:
> make-directory: Creating directory: permission denied, //.emacs.d
> OK, but how about have it just try once, else "frequent visual bells
> may send some users into epileptic seizures, and who's going to pay
> for that?"
Can you reproduce it with emacs -q?
This could, conceivably, be due to code that depends directly on a
non-nil init-file-user, even if his init file is empty.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [jidanni@jidanni.org: just try once to create ~/.emacs.d]
2006-03-06 0:48 ` Richard Stallman
@ 2006-03-06 23:37 ` Dan Jacobson
2006-03-07 19:38 ` Chong Yidong
0 siblings, 1 reply; 6+ messages in thread
From: Dan Jacobson @ 2006-03-06 23:37 UTC (permalink / raw)
Odd, sometimes I can reproduce this, minutes later I can't.
today. But user nobody should have no way to write things to change
the state of the system, except in /tmp. And ii didn't write there.
emacs -q didn't reproduce it, but then -q or not, sometime didn't
reproduce it. Anyway, it takes about a minute to show up, ^X^B will
show the *Messages* buffer grown. -q shouldn't matter as ~/nobody has
no .emacs as it is /.
$ strings /usr/bin/emacs21-x shows
~/_emacs.d/auto-save.list/_s
~/.emacs.d/auto-save-list/.saves-
$ apt-cache policy emacs21
Installed: 21.4a-3
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [jidanni@jidanni.org: just try once to create ~/.emacs.d]
2006-03-06 23:37 ` Dan Jacobson
@ 2006-03-07 19:38 ` Chong Yidong
0 siblings, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2006-03-07 19:38 UTC (permalink / raw)
Cc: emacs-devel
Dan Jacobson <jidanni@jidanni.org> writes:
> Odd, sometimes I can reproduce this, minutes later I can't.
> today. But user nobody should have no way to write things to change
> the state of the system, except in /tmp. And ii didn't write there.
> emacs -q didn't reproduce it, but then -q or not, sometime didn't
> reproduce it. Anyway, it takes about a minute to show up, ^X^B will
> show the *Messages* buffer grown.
Could you try to figure out what Lisp code is trying to save to
.emacs, e.g., by setting debug-on-error to t.
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <20060308010719.26023gmx1@mx081.gmx.net>]
* Re: [jidanni@jidanni.org: just try once to create ~/.emacs.d]
[not found] <20060308010719.26023gmx1@mx081.gmx.net>
@ 2006-03-08 10:10 ` Sven Joachim
0 siblings, 0 replies; 6+ messages in thread
From: Sven Joachim @ 2006-03-08 10:10 UTC (permalink / raw)
Cc: Chong Yidong, emacs-devel
[My apologies if the message references in the header are not right;
I read emacs-devel in digest mode.]
Dan Jacobson wrote:
> Odd, sometimes I can reproduce this, minutes later I can't.
> today. But user nobody should have no way to write things to change
> the state of the system, except in /tmp. And ii didn't write there.
> emacs -q didn't reproduce it, but then -q or not, sometime didn't
> reproduce it. Anyway, it takes about a minute to show up, ^X^B will
> show the *Messages* buffer grown. -q shouldn't matter as ~/nobody has
> no .emacs as it is /.
I tried to reproduce your problem with both Emacs 21 and Emacs CVS.
It seems that the error message is triggered when Emacs tries to
auto-save. Enabling debug-on-error gives the backtrace
Debugger entered--Lisp error: (file-error "Creating directory" "permission denied" "//.emacs.d")
make-directory-internal("//.emacs.d")
make-directory("//.emacs.d/auto-save-list/" t)
when typing "M-x do-auto-save". The good news is that it happened only
under Emacs 21, but not in the current development version which will
hopefully be released this year.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-03-08 10:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 10:25 [jidanni@jidanni.org: just try once to create ~/.emacs.d] Richard Stallman
2006-03-04 15:11 ` Chong Yidong
2006-03-06 0:48 ` Richard Stallman
2006-03-06 23:37 ` Dan Jacobson
2006-03-07 19:38 ` Chong Yidong
[not found] <20060308010719.26023gmx1@mx081.gmx.net>
2006-03-08 10:10 ` Sven Joachim
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.