From owner-freebsd-current@FreeBSD.ORG Sun Jun 26 22:59:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3158106564A for ; Sun, 26 Jun 2011 22:59:34 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 906D08FC12 for ; Sun, 26 Jun 2011 22:59:34 +0000 (UTC) Received: by iyb11 with SMTP id 11so5129870iyb.13 for ; Sun, 26 Jun 2011 15:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to; bh=essOoY/4Vp4CG5hlJFJGbeYYskW+Ats4JNotuNdh0C4=; b=TbyjvoeLOh/aOIjllqpkhjLN4f9284nB3K6eKWECOaOkSKTr4GPPD7lFufwXLxt4q/ pSx5YSekq+2OzpEAAyS+7xnGkPqL8B4WIyg8cbT1fYuPuc2051MSC/rpC4AJS3eeOH38 icFEL750T8tkcxcitwU6VKqS2AcfoblsS1brE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=U8HuL1cFqC8COYleXoWm8HTPSaW/Yglxz6CXhM1RkH0QjS9sp8QclCW+F3fSHjM4ni Wyc32SWqZVe9ZU4sLf5CRNy+8k5JPkNCZoXBaRF0w9t1cpCC6/cHMlSaOBpbC9hbgUxL nOc51lIpO9zmo5pnNcf/fS6pNBuFRaobMi6D0= Received: by 10.42.108.9 with SMTP id f9mr6056675icp.358.1309129173873; Sun, 26 Jun 2011 15:59:33 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-190-86-179.dsl.klmzmi.sbcglobal.net [99.190.86.179]) by mx.google.com with ESMTPS id s2sm4798638icw.5.2011.06.26.15.59.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Jun 2011 15:59:32 -0700 (PDT) Sender: "J. Hellenthal" Received: from disbatch.dataix.local (localhost [127.0.0.1]) by disbatch.dataix.local (8.14.5/8.14.5) with ESMTP id p5QMxTQD047713 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Jun 2011 18:59:29 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by disbatch.dataix.local (8.14.5/8.14.5/Submit) id p5QMxTsL047709; Sun, 26 Jun 2011 18:59:29 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Sun, 26 Jun 2011 18:59:29 -0400 From: jhell To: "deeptech71@gmail.com" Message-ID: <20110626225928.GA38064@DataIX.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-current@freebsd.org Subject: Re: /var/crash permissions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 22:59:34 -0000 On Sun, Jun 26, 2011 at 11:33:00PM +0200, deeptech71@gmail.com wrote: > the FreeBSD Developers' Handbook recommends /var/crash to have > drwx------ permissions [1]. ``make installworld'' alters those > permissions to drwxr-x---. one of the two is trolling. which one? > > [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN It used to be that the permissions were as stated in the handbook but were changed to allow access to the directory by those in group wheel. But as the files that are still created in that directory are still created with a umask of 077 the directories mode being 750 doesnt make any sense as the files there are still not readable by anyone but root owned processes. At this time I would say that the handbook should be changed to reflect its current mode of 750 since its easy to alter the contained files than it is for a user to mess with mtree permissions if they want wheel users to have access to that directory.