Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 13:25:32 +0200 (MET DST)
From:      grog@lemis.de (Greg Lehey)
To:        andreas@klemm.gtn.com (Andreas Klemm)
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: help on newfs and a new partition
Message-ID:  <199610071125.NAA00382@allegro.lemis.de>
In-Reply-To: <Pine.BSF.3.95.961006230102.21936A-100000@klemm.gtn.com> from "Andreas Klemm" at Oct 6, 96 11:01:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610071125.NAA00382>