Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!bimacs.BITNET!yedidya From: yedidya@bimacs.BITNET.UUCP Newsgroups: comp.unix.wizards Subject: Re: umask under 4.3 BSD Message-ID: <8706041239.AA06984@jade.berkeley.edu> Date: Thu, 4-Jun-87 08:40:28 EDT Article-I.D.: jade.8706041239.AA06984 Posted: Thu Jun 4 08:40:28 1987 Date-Received: Sat, 6-Jun-87 06:20:15 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 26 The patches suggested are solving this local problem. Let me widen the problem and interduce another solution. Lets say I want to set a system-wide variables, aliases, execute a few initialization commands etc. I'd like to have a system-wide .login , .cshrc , (.profile if someone uses sh(1)) and .logout. (The latter is not really necessary) Solution: change csh to source /usr/lib/.{cshrc,login} These files can be kept empty. (If someone really did it, send me patches) Now all you need to do is to put "umask 0066" in /usr/lib/.cshrc . yedidya +---------------------------------------------------------------------+ | Israel Yedidya, Math & CS Department, Bar-Ilan U, Ramat-Gan, ISRAEL | +---------------------------------------------------------------------+ | BITNET: yedidya@bimacs | | ARPA: yedidya%bimacs@wiscvm.wisc.edu | | CSNET: yedidya%bimacs.bitnet%wiscvm.wisc.edu@csnet-relay | | UUCP: {mcvax,seismo}!humus!bimacs!yedidya | +---------------------------------------------------------------------+