From owner-freebsd-questions Mon Oct 7 04:43:34 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA18606 for questions-outgoing; Mon, 7 Oct 1996 04:43:34 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA18580 for ; Mon, 7 Oct 1996 04:43:27 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vAE5L-000QnSC; Mon, 7 Oct 96 12:42 MET From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id NAA00382; Mon, 7 Oct 1996 13:25:32 +0200 Message-Id: <199610071125.NAA00382@allegro.lemis.de> Subject: Re: help on newfs and a new partition To: andreas@klemm.gtn.com (Andreas Klemm) Date: Mon, 7 Oct 1996 13:25:32 +0200 (MET DST) Cc: questions@FreeBSD.org (FreeBSD Questions) In-Reply-To: from "Andreas Klemm" at Oct 6, 96 11:01:58 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Andreas Klemm writes: > > On Sun, 6 Oct 1996, Robert Eckardt wrote: > >>> This doesn't happen under FreeBSD. Did you see it under System V? In >> >> It happens -- I just checked: >> E.g., the original files >> drwxrwxr-x 2 roberte work 512 Sep 20 17:55 /home/re/etc/FreeBSD >> -rw-rw-r-- 1 roberte work 384512 Jul 19 01:46 /home/re/etc/FreeBSD/boot.flp >> >> become w/o -p >> dr-x------ 2 roberte work 512 Sep 20 17:55 FreeBSD >> -r-------- 1 roberte work 384512 Jul 19 01:46 FreeBSD/boot.flp >> >> with root's umask=277 >> >> Robert > > Thanks for evaluating this... Huhu Greg ... what Du you say now ?! ;-)) Well, as you know, we went through this in some detail yesterday. Of course, I didn't think to change my umask (in fact, I was paying more attention to the change of user and group that you had led me to expect). In any case, you're right: if you have a non-0 umask (which I don't), it will be applied to all the permissions unless you supply the -p option. Thanks for fighting this one through. Greg