Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ut-sally.UUCP Path: utzoo!decvax!decwrl!pyramid!ut-sally!std-unix From: std-unix@ut-sally.UUCP (Moderator, John Quarterman) Newsgroups: mod.std.unix Subject: Re: umask per directory? Message-ID: <4132@ut-sally.UUCP> Date: Fri, 7-Feb-86 10:14:32 EST Article-I.D.: ut-sally.4132 Posted: Fri Feb 7 10:14:32 1986 Date-Received: Sat, 8-Feb-86 05:49:06 EST References: <4034@ut-sally.UUCP> <4029@ut-sally.UUCP> <4060@ut-sally.UUCP>, <4083@ut-sally.UUCP>, <4122@ut-sally.UUCP> Organization: IEEE/P1003 Portable Operating System Environment Committee Lines: 31 Approved: jsq@sally.UUCP Date: Fri, 7 Feb 86 01:12:07 pst >From: pyramid!decwrl!mips!mash (John Mashey) Re: having followed this discussion somewhat randomly, I thought that was one the ways that people were casting this, and so cast the example that way. Perhaps a better way to state the general case is: a) one needs to specify the state vector associated with each object in the system. b) One must specify how operations depend on the state of the objects. c) Any time one adds a new item to an existing state vector, one should carefully check to see that it is needed, and is as general as makes sense, not just a special case. d) ANy time one adds an enitre new state vector, or a completely new kind of interaction with operations, like c), but more so. Certainly, I don't feel very strongly about any of this, EXCEPT that this feels to me like a wart of the following nature: a) It is a special case of potential value. b) It is a special case of some general case that has not yet been expressed. c) It is not of such critical nature that it should be implemented without better understanding the general case. d) If somebody really wants to, they can get almost any of the proposed effects by using 1) tweeked creat(2) Interface routine, 2) environ variable checked by the new creat() 3) a dot-file with umask value left in each directory. The questions is: does anybody who has the source to do this have enough interest to try this out? Volume-Number: Volume 5, Number 42