From owner-freebsd-current Thu Oct 22 13:04:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21124 for freebsd-current-outgoing; Thu, 22 Oct 1998 13:04:11 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zed.ludd.luth.se (zed.ludd.luth.se [130.240.16.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20937 for ; Thu, 22 Oct 1998 13:03:59 -0700 (PDT) (envelope-from gozer@ludd.luth.se) Received: from father.ludd.luth.se (gozer@father.ludd.luth.se [130.240.16.18]) by zed.ludd.luth.se (8.8.5/8.8.5) with ESMTP id VAA16799; Thu, 22 Oct 1998 21:03:20 +0100 Date: Thu, 22 Oct 1998 22:03:19 +0200 (MET DST) From: Johan Larsson To: Tomi Vainio cc: freebsd-current@FreeBSD.ORG Subject: Re: 3.0 current mkdir/umask problem In-Reply-To: <13871.33062.481564.696745@zeta.fidata.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 22 Oct 1998, Tomi Vainio wrote: > I feel little stupid asking this. I just installed 3.0R and compiled > latest current over it. If I make new directory with mkdir command it > will always get 777 permissions so it won't respect umask setting. I > also tried mkdir binary from 2.2-stable and it works correctly. Is > this some new nosecure option? I can confirm this, make world this night, and hey: johan@ball; mkdir test johan@ball; touch test2 johan@ball; ls -ald test test2 -rw-rw-r-- 1 johan johan 0 Oct 22 22:02 test2 drwxrwxrwx 2 johan johan 512 Oct 22 22:02 test/ johan@ball; umask 2 Yikes.... :) (Doesn't matter if it's on nfs or local). Johan -- * mailto:gozer@ludd.luth.se * http://www.ludd.luth.se/users/gozer/ * * Powered by FreeBSD. http://www.se.freebsd.org/ +-+-+-+-+-+-+-+-+ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message