Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 18:59:29 -0400
From:      jhell <jhell@DataIX.net>
To:        "deeptech71@gmail.com" <deeptech71@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: /var/crash permissions
Message-ID:  <20110626225928.GA38064@DataIX.net>
In-Reply-To: <BANLkTimZ_yadqsDmpKTND_XxkSHpMRYx-g@mail.gmail.com>
References:  <BANLkTimZ_yadqsDmpKTND_XxkSHpMRYx-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110626225928.GA38064>