From owner-freebsd-security Sat Feb 19 10: 3:23 2000 Delivered-To: freebsd-security@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 4B53837BC1A for ; Sat, 19 Feb 2000 10:03:18 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.13 #1) id 12MEDg-000Nnm-00; Sat, 19 Feb 2000 20:03:04 +0200 From: Sheldon Hearn To: Igor Vinokurov Cc: freebsd-security@FreeBSD.ORG Subject: Re: pw && umask In-reply-to: Your message of "Sat, 19 Feb 2000 20:39:50 +0300." <20000219203950.A884@shogun.rtsnet.ru> Date: Sat, 19 Feb 2000 20:03:04 +0200 Message-ID: <91497.950983384@axl.noc.iafrica.com> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 19 Feb 2000 20:39:50 +0300, Igor Vinokurov wrote: > I have tried this way before asking :) Your proof indicates that pw ignores the umask(2). Unfortunately, I got confused by what you said originally: > > > Unfortunately, pw creates a user home directory with the umask > > > which was for the one who has started pw. Given that what you said originally isn't true, you're probably better off teaching whatever script calls pw to chmod the directories afterwards. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message