From owner-freebsd-questions@FreeBSD.ORG Mon Feb 1 16:29:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8667B1065672 for ; Mon, 1 Feb 2010 16:29:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 601D18FC14 for ; Mon, 1 Feb 2010 16:29:45 +0000 (UTC) Received: (qmail 23657 invoked from network); 1 Feb 2010 16:29:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Feb 2010 16:29:44 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 78BF65082E; Mon, 1 Feb 2010 11:29:43 -0500 (EST) From: Lowell Gilbert To: Nerius Landys References: <560f92641001312208r1af8a8a2j2be83fe231ad8d74@mail.gmail.com> Date: Mon, 01 Feb 2010 11:29:43 -0500 In-Reply-To: <560f92641001312208r1af8a8a2j2be83fe231ad8d74@mail.gmail.com> (Nerius Landys's message of "Sun, 31 Jan 2010 22:08:50 -0800") Message-ID: <44ljfc2a2w.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: /root permission reset on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 16:29:45 -0000 Nerius Landys writes: > I'm running FreeBSD 7.1 i386, and even after I "chmod 700 /root", > after a reboot it goes back to permission 755. > 1. What's the reason for this? There must be a good reason and I > would like to know it. Everything in FreeBSD just makes sense and is > well designed (honestly, no sarcasm here). It's something local to your machine; this doesn't happen on any machine I've used, and I can't find anything that could be configured for that. > 2. Would I want to change the permission of /root to 700 permanently, and how? By default, there's nothing sensitive in that directory, so there's no reason to protect it more thoroughly than the defaults. If you put something in that directory, you might want to change the permissions, but that would be up to you and your own knowledge of your system. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/