unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* yes I'm root but want 444 files found readonly
@ 2002-06-26 18:29 Dan Jacobson
       [not found] ` <86bs9vq671.fsf@eden-hda7.my.local>
  2002-07-02  1:31 ` Jeff Sheinberg
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Jacobson @ 2002-06-26 18:29 UTC (permalink / raw)


$ 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-03 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-26 18:29 yes I'm root but want 444 files found readonly Dan Jacobson
     [not found] ` <86bs9vq671.fsf@eden-hda7.my.local>
2002-06-30 21:50   ` Dan Jacobson
2002-07-02  1:31 ` Jeff Sheinberg
2002-07-02 16:16   ` Francesco Potorti`
2002-07-03  2:18     ` Dan Jacobson
2002-07-03 16:01       ` Francesco Potorti`
2002-07-03 18:46         ` David desJardins

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).