mkdir and group

From: Jukka Jalava <jukka.jalava_at_vat-vai.valmet.com>
Date: Tue, 30 Jan 1996 18:34:59 +0200

Has anyone run into this:

In HP-UX (System V UNIXes) when you create a subdirectory with mkdir, it
inherits the users effective ID and GID. In DU (at least OSF/1 3.2) it
inherits the GID of the parent directory, and not the user! (I take this
is the way to do it in BSD UNIX)

Using this from command line wouldn't be a major problem, but when it's
built into scripts used by a make-system it gets rather tedious.

Can anyone tell me if there is a way to tell mkdir what UID and GID to
use?

Thank you in advance,
-- 
     _____                               Jukka Jalava
    (  	 /       /_   /_   __          System Specialist
    ____/__/  / /__) /__) /  /       Valmet Automation Inc. 
   (___/  (__/_/ (__/ (__(__/(          Tampere FINLAND 
                                 jukka.jalava_at_vat-vai.valmet.com
                                  tel: +358 31 2668 690  (GMT+2)
Received on Tue Jan 30 1996 - 18:13:23 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT