[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs early on could have known it could not write a non owned file
From: |
Gerd Moellmann |
Subject: |
Re: emacs early on could have known it could not write a non owned file |
Date: |
29 Oct 2001 14:54:45 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
Dan Jacobson <jidanni@deadspam.com> writes:
> 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...]
Any chance you implement this, Dan?