From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 13:14:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1DC216A4CE for ; Wed, 15 Sep 2004 13:14:41 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C9243D48 for ; Wed, 15 Sep 2004 13:14:39 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (host5.bedc.ondsl.gr [62.103.39.229])i8FDEQj3030775; Wed, 15 Sep 2004 16:14:33 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i8FDEIXZ082001; Wed, 15 Sep 2004 16:14:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)i8FDEF6C081947; Wed, 15 Sep 2004 16:14:15 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 15 Sep 2004 16:14:15 +0300 From: Giorgos Keramidas To: Dick Davies Message-ID: <20040915131414.GA80220@orion.daedalusnetworks.priv> References: <003101c49aa2$f817b820$2a88ebd5@Vanovci> <20040915085708.GB23645@happy-idiot-talk.infracaninophile.co.uk> <20040915102445.GA13170@lb.tenfour> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040915102445.GA13170@lb.tenfour> cc: freebsd-questions@freebsd.org Subject: Re: /root default permisions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 13:14:41 -0000 On 2004-09-15 11:24, Dick Davies wrote: >* Matthew Seaman : >>On Tue, Sep 14, 2004 at 11:36:59PM +0200, Martin Vana wrote: >>> I installed FBSD 5.3 Beta 3 - Default install, and as a regular user >>> I can 'cat /root/.cshrc' or any other file in admin's directory? >>> is it a bug? >> >> No, that's not wrong. The /root directory should be mode 755, which >> means anyone can chdir to it, or list the contents. > > s/should/is/ > > Is there any reason why it should be like this? It's your responsibility as the owner of the account to ensure that no sensitive information should be stored in /root in world-readable files. Regardless of the permissions of /root as a directory you can chmod any subdirectory or file to whatever you feel suits your needs. Why then would it be a problem that /root has 0755 permissions? - Giorgos