From owner-freebsd-questions Fri Jan 7 17:43:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 6214F15259 for ; Fri, 7 Jan 2000 17:43:30 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.092 #1) id 126kLa-0004VJ-00; Sat, 08 Jan 2000 01:07:14 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.092 #1) id 126kLZ-000I9g-00; Sat, 08 Jan 2000 01:07:13 +0000 Date: Sat, 8 Jan 2000 01:07:13 +0000 From: Ben Smithurst To: courtney@whtz.com Cc: questions@freebsd.org Subject: Re: home directory permissions Message-ID: <20000108010713.A69561@strontium.scientia.demon.co.uk> References: <85256860.000112BA.00@mail.whtz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <85256860.000112BA.00@mail.whtz.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG courtney@whtz.com wrote: > I am trying to add a user with his home directory on a different hard > drive (storage limitations), Free BSD will let me add the user just fine, > but my MTA tries to deliver mail it reports an error or "world write-able > directory"..SO here is my question- what permissions do I need to assign to > the home directory? and what command will give me those (i.e. chmod > ??????) well, there's no single answer, it depends how much privacy your users want. It will almost certainly need user read/write/execute, possibly with group/other read/execute too (that's 700 for just user read/write/execute, or 755 for user read/write/execute + group/other read/execute). Look at what permissions YOUR home directory has, for example, and use that. You really should be able to work out an octal permission mode from the information produced by "ls -ld $HOME". -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message