From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: yes I'm root but want 444 files found readonly Date: 27 Jun 2002 02:29:22 +0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87ptyd99ml.fsf@jidanni.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025124666 24525 127.0.0.1 (26 Jun 2002 20:51:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2002 20:51:06 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17NJkn-0006NS-00 for ; Wed, 26 Jun 2002 22:51:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17NJl5-0003eg-00; Wed, 26 Jun 2002 16:51:23 -0400 Original-Received: from mailbox2.ucsd.edu ([132.239.1.54]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17NJkh-0003db-00 for ; Wed, 26 Jun 2002 16:51:00 -0400 Original-Received: from mail.fu-berlin.de (mail.fu-berlin.de [160.45.11.165]) by mailbox2.ucsd.edu (8.12.1/8.12.1) with ESMTP id g5QKowxY021215 for ; Wed, 26 Jun 2002 13:50:58 -0700 (PDT) Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Wed, 26 Jun 2002 22:50:57 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Wed, 26 Jun 2002 22:50:57 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 61-227-44-39.hinet-ip.hinet.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 20 X-Orig-NNTP-Posting-Host: 61-227-44-39.hinet-ip.hinet.net (61.227.44.39) X-Orig-X-Trace: fu-berlin.de 1025124656 13211095 61.227.44.39 (16 [99749]) X-Orig-Path: 127.0.0.1!nobody User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2292 $ su # chmod 0 file # chmod 444 otherfile # emacs file otherfile and the files are found without the "%%" readonly in the mode line. OK, I'm root with the royal blood. But that doesn't mean I don't want to enjoy the same protection against altering my files all over the place just like the other guy. Sure wish there was an option in emacs that would respect the hints from the file modes even if I'm root. Or what, do you expect me to do C-x C-q on each file? Unfair. Yes, for my mode 0 file the option could have a third etc. choice, not only find-readonly, but also ask the user if he really wants to see it etc. Also there's the case of 444 but not owned by root. Here also I would find-readonly. -- http://jidanni.org/ Taiwan(04)25854780