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

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

Re: Files created with emacs are owned by system


From: Mark Hood
Subject: Re: Files created with emacs are owned by system
Date: 06 Aug 2008 16:42:36 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

iainb.forms@googlemail.com writes:

> Got rid of the setuid, thanks. I'm not sure why the 21.2 emacs is so
> small or the suid was there, so I checked on another Tiger machine. I
> can't be entirely sure emacs wasn't there from 10.3 (Panther), can't
> remember. If it's a virus, it still worked as emacs :)

As another poster has noted, the suid bit was set by the broken
"Repair Disk Permissions" function of the Disk Utility in some builds
of OSX 10.4.  It's definitely a security risk that has supposedly been
fixed in some more recent update.  (I haven't tested it myself yet).

The Emacs is small because it's just a compiled launcher for the real
Emacs that provides a terminal window for Emacs to run in if the
launcher was invoked without a terminal.  The 21.2 version built into
OSX 10.4 isn't compiled with window system support.

-- Mark


reply via email to

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