Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!decwrl!pyramid!ut-sally!std-unix From: std-unix@ut-sally.UUCP Newsgroups: mod.std.unix Subject: public-domain mkdir() implementation Message-ID: <5331@ut-sally.UUCP> Date: Tue, 15-Jul-86 18:09:35 EDT Article-I.D.: ut-sally.5331 Posted: Tue Jul 15 18:09:35 1986 Date-Received: Tue, 15-Jul-86 23:38:05 EDT Organization: IEEE 1003 Portable Operating System for Computer Environments Committee Lines: 16 Approved: jsq@sally.UUCP Date: Thu, 10 Jul 86 7:55:58 EDT From: Doug Gwyn (VLD/VMB) Someone has pointed out to me that the mkdir() I posted doesn't ensure that the directory ends up owned by the effective-UID. There are technical reasons why this is very difficult; I have a somewhat improved version (still doesn't work right for EUID other than real or 0). It may be possible to completely fix this on a real UNIX System V, where there is a useful chown(), but since I don't have one I can't test that. If there is sufficient interest I can repost my collection of public-domain implementations of various new features of the standards. Send me your improvements, please. Thanks. - Gwyn@BRL.ARPA Volume-Number: Volume 6, Number 28