From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 13 14:08:35 2006 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 685F216A405 for ; Thu, 13 Apr 2006 14:08:35 +0000 (UTC) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFA3F43D49 for ; Thu, 13 Apr 2006 14:08:34 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 7B3E0998C18; Thu, 13 Apr 2006 16:08:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hEdClfWJMyMf; Thu, 13 Apr 2006 16:08:27 +0200 (CEST) Received: from [192.168.2.186] (catv-5062e7e3.catv.broadband.hu [80.98.231.227]) by server.t-hosting.hu (Postfix) with ESMTP id 566B8998C17; Thu, 13 Apr 2006 16:08:27 +0200 (CEST) Message-ID: <443E5B5A.7080506@t-hosting.hu> Date: Thu, 13 Apr 2006 16:08:26 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Jerry McAllister References: <200604131400.k3DE0WSe053160@freefall.freebsd.org> In-Reply-To: <200604131400.k3DE0WSe053160@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/95684: /root wrong permissions X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 14:08:35 -0000 Jerry McAllister wrote: > The following reply was made to PR misc/95684; it has been noted by GNATS. > > From: Jerry McAllister > To: c_dornig@gmx.de (C.D.) > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: misc/95684: /root wrong permissions > Date: Thu, 13 Apr 2006 09:59:31 -0400 (EDT) > > > > > > > >Number: 95684 > > >Category: misc > > >Synopsis: /root wrong permissions > > >Confidential: no > > >Severity: critical > > >Priority: medium > > >Responsible: freebsd-bugs > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Thu Apr 13 09:50:15 GMT 2006 > > >Closed-Date: > > >Last-Modified: > > >Originator: C.D. > > >Release: 5.4 RELEASE, 6.0 RELEASE > > >Organization: > > none > > >Environment: > > >Description: > > Dear FreeBSD Team, > > > > > > > > with standard installation of FBSD 5.4 Released or 6.0 Released from CD-ROM, > > you have after install process a wrong permission of /root. > > It is 0755, but it should be 0700. > > I see this as an Security hole. > > I was just able to look back as far as FreeBSD 3.2 - as far back as > I have anything handy running and they all have "/" set to 755. > > I don't understand why it should be 0700. > > If you did that, no person could do an ls or get to directories under > root. The 755 setting does not allow group or world to write to root, > just get to the necessary things in it. > > I think you misunderstood the problem of the submitter. He meant "/root", the home of the root user, not the root filesystem "/". Gabor Kovesdan