unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; on Mac OS X permissions of group-writable files are displayed with red w
@ 2008-05-26 19:11 Peter Dyballa
  2008-05-26 20:00 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Dyballa @ 2008-05-26 19:11 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

GNU Emacs explains to me (after following hypertext links from *Help*  
buffers) that dired-perm-write face comes out of dired.el, from these  
lines:

	(defface dired-perm-write
	  '((((type w32 pc)) :inherit default)  ;; These default to rw-rw-rw.
	    ;; Inherit from font-lock-comment-delimiter-face since with min- 
colors 8
	    ;; font-lock-comment-face is not colored any more.
	    (t (:inherit font-lock-comment-delimiter-face)))
	  "Face used to highlight permissions of group- and world-writable  
files."
	  :group 'dired-faces
	  :version "22.2")

I am pretty sure that I neither have some MS stuff on my lap nor a PC  
in use ... so why do I see these red w in drwxrwxr-x or -rw-rw-r-- ?



In GNU Emacs 23.0.60.2 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2008-05-23 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-x-toolkit=athena' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ 
Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/ 
share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/freetype219/ 
lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/ 
pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/ 
usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=-ggdb - 
gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=7450 - 
mtune=7450 -mno-powerpc64 -O0 -mpim-altivec -ftree-vectorize -fno- 
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/sw/include -I/usr/local/ 
include -idirafter /usr/X11R6/include' 'LDFLAGS=-bind_at_load - 
dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/ 
usr/local/lib -L/usr/X11R6/lib''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
   shell-dirtrack-mode: t
   show-paren-mode: t
   display-time-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t


--
Mit friedvollen Grüßen

   Pete

This is a signature virus.  Add me to your signature and help me to live






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

* Re: 23.0.60; on Mac OS X permissions of group-writable files are displayed with red w
  2008-05-26 19:11 23.0.60; on Mac OS X permissions of group-writable files are displayed with red w Peter Dyballa
@ 2008-05-26 20:00 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2008-05-26 20:00 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: emacs-pretest-bug

> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Mon, 26 May 2008 21:11:49 +0200
> Cc: 
> 
> GNU Emacs explains to me (after following hypertext links from *Help*  
> buffers) that dired-perm-write face comes out of dired.el, from these  
> lines:
> 
> 	(defface dired-perm-write
> 	  '((((type w32 pc)) :inherit default)  ;; These default to rw-rw-rw.
> 	    ;; Inherit from font-lock-comment-delimiter-face since with min- 
> colors 8
> 	    ;; font-lock-comment-face is not colored any more.
> 	    (t (:inherit font-lock-comment-delimiter-face)))
> 	  "Face used to highlight permissions of group- and world-writable  
> files."
> 	  :group 'dired-faces
> 	  :version "22.2")
> 
> I am pretty sure that I neither have some MS stuff on my lap nor a PC  
> in use ... so why do I see these red w in drwxrwxr-x or -rw-rw-r-- ?

You see them precisely _because_ you never had any MS stuff on your
lap.  Look at the defface above: it says that on w32 and MSDOS (that's
what `pc' means) dired-perm-write face is identical to the default
face, whereas on all other systems it looks like
font-lock-comment-delimiter-face.

This feature is meant to make world-writable files to stand out on
systems where it isn't the default, presumably to alert you to
possible security holes.




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

end of thread, other threads:[~2008-05-26 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 19:11 23.0.60; on Mac OS X permissions of group-writable files are displayed with red w Peter Dyballa
2008-05-26 20:00 ` Eli Zaretskii

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).