Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 1998 22:03:19 +0200 (MET DST)
From:      Johan Larsson <gozer@ludd.luth.se>
To:        Tomi Vainio <tomppa@fidata.fi>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: 3.0 current mkdir/umask problem
Message-ID:  <Pine.GSU.4.05.9810222201240.15512-100000@father.ludd.luth.se>
In-Reply-To: <13871.33062.481564.696745@zeta.fidata.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSU.4.05.9810222201240.15512-100000>