bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs early on could have known it could not write a non owned file


From: Dan Jacobson
Subject: emacs early on could have known it could not write a non owned file
Date: 28 Oct 2001 07:51:48 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Be root and
# touch /tmp/a
now as a regular user, try to C-x C-w /tmp/a some file.
File `/tmp/a' exists; overwrite? (y or n) y
File a is write-protected; try to save anyway? (yes or no) yes
Doing chmod: operation not permitted, /tmp/a

Ok, Emacs, being college educated, should, instead giving me two quiz
questions, have detected the certain failure way back at line zero,
and so informed the user.  [root excepted: root should only get the
first warning...]
-- 
http://www.geocities.com/jidanni Tel+886-4-25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]