From owner-freebsd-security@FreeBSD.ORG Thu Mar 19 10:45:11 2009 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3944C106564A for ; Thu, 19 Mar 2009 10:45:11 +0000 (UTC) (envelope-from ntarmos@cs.uoi.gr) Received: from gaia.cs.uoi.gr (gaia.cs.uoi.gr [195.130.121.201]) by mx1.freebsd.org (Postfix) with ESMTP id A471F8FC1B for ; Thu, 19 Mar 2009 10:45:10 +0000 (UTC) (envelope-from ntarmos@cs.uoi.gr) Received: from zeus.cs.uoi.gr (zeus.cs.uoi.gr [195.130.121.11]) by gaia.cs.uoi.gr (8.14.1/8.14.1) with ESMTP id n2JAQB3X064786 for ; Thu, 19 Mar 2009 12:26:16 +0200 (EET) (envelope-from ntarmos@cs.uoi.gr) Received: from zeus.cs.uoi.gr (localhost [127.0.0.1]) by zeus.cs.uoi.gr (8.13.5/8.13.5) with ESMTP id n2JAQ6pd015676 for ; Thu, 19 Mar 2009 12:26:11 +0200 (EET) Received: (from ntarmos@localhost) by zeus.cs.uoi.gr (8.13.5/8.13.5/Submit) id n2JAQ6JM015675 for freebsd-security@freebsd.org; Thu, 19 Mar 2009 12:26:06 +0200 (EET) X-Authentication-Warning: zeus.cs.uoi.gr: ntarmos set sender to ntarmos@cs.uoi.gr using -f Date: Thu, 19 Mar 2009 12:26:06 +0200 From: Nikos Ntarmos To: freebsd-security@freebsd.org Message-ID: <20090319102606.GA27912@ace.cs.uoi.gr> References: <200903062256.n26MuA2r085728@pc.jgr.de> <87ljr61t3v.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ljr61t3v.fsf@kobe.laptop> Organization: Computer Science Dept., U. of Ioannina, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-26510-98866 GPS-Info: 39.617660N, 20.838790E User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.91.2/9134/Thu Mar 19 04:56:25 2009 on gaia.cs.uoi.gr X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (gaia.cs.uoi.gr [195.130.121.201]); Thu, 19 Mar 2009 12:26:16 +0200 (EET) X-Mailman-Approved-At: Thu, 19 Mar 2009 11:20:39 +0000 Subject: Re: emacs installs a lot of 777 directories X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 10:45:11 -0000 On Sun, Mar 15, 2009 at 09:30:44PM +0200, Giorgos Keramidas wrote: > On Fri, 6 Mar 2009 23:56:10 +0100 (CET), freebsd001@pc.jgr.de wrote: > > Dear list members, > > > > I am not only wondering about the permissions of several emacs-related > > directories as it has recently been mentioned in this thread, but also > > about the ownership of several emacs-related files. > > This seems to be a local installation glitch. > > >>find . -not -user root | head -n 3 > > ./emacs/22.3/etc > > ./emacs/22.3/etc/GNUS-NEWS > > ./emacs/22.3/etc/fr-drdref.ps > > > >>find . -not -user root | wc -l > > 2643 That's probably due to the fact that emacs uses something along the lines of 'tar -chf - ... | tar -xvf - ...' to copy the files, followed (in some cases) by a chown to $LOGNAME (or if that is not set, to $USERNAME). If you just 'su', LOGNAME remains set to what it was before (i.e. nutzer), while 'su -' will clear that out. Cheers. \n\n