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

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

yes I'm root but want 444 files found readonly


From: Dan Jacobson
Subject: yes I'm root but want 444 files found readonly
Date: 27 Jun 2002 02:29:22 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

$ 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



reply via email to

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