public-domain mkdir() implementation

std-unix at ut-sally.UUCP std-unix at ut-sally.UUCP
Wed Jul 16 08:09:35 AEST 1986


Date:     Thu, 10 Jul 86 7:55:58 EDT
From: Doug Gwyn (VLD/VMB) <gwyn at BRL.ARPA>

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 at BRL.ARPA

Volume-Number: Volume 6, Number 28



More information about the Mod.std.unix mailing list