From owner-freebsd-security@FreeBSD.ORG Sun Mar 8 18:21:40 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 1B3A81065673 for ; Sun, 8 Mar 2009 18:21:40 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id E6A9F8FC08 for ; Sun, 8 Mar 2009 18:21:39 +0000 (UTC) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=rmac.psg.com) by ran.psg.com with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LgNd4-000OED-D0; Sun, 08 Mar 2009 18:21:38 +0000 Received: from rmac.psg.com.psg.com (localhost [127.0.0.1]) by rmac.psg.com (Postfix) with ESMTP id 16D57DB58C4; Sun, 8 Mar 2009 11:21:38 -0700 (PDT) Date: Sun, 08 Mar 2009 11:21:37 -0700 Message-ID: From: Randy Bush To: Daniel Marsh In-Reply-To: References: <1236312264.7184.1.camel@yog-sothoth.rlyeh> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-apple-darwin9.6.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-security@freebsd.org 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: Sun, 08 Mar 2009 18:21:40 -0000 > And who owns the files? >>> On Fri, 2009-03-06 at 11:15 +0900, Randy Bush wrote: >>>> foo.on.you:/usr/local/share# find . -type d -perm 777 >>>> ./emacs/22.3/etc/tree-widget >>>> ./emacs/22.3/etc/tree-widget/folder >>>> ./emacs/22.3/etc/tree-widget/default >>> Could this simply be an over promiscuous umask being set when Emacs was >>> installed? ie. umask 000 rather than the default umask 022 for root? >> root's umask is 022 root