Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 +SENDMAIL+2.11; site dcl-cs.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!ukc!dcl-cs!stephen
From: stephen@dcl-cs.UUCP (Stephen J. Muir)
Newsgroups: net.bugs.4bsd
Subject: Re: Short summary of the problem
Message-ID: <748@dcl-cs.UUCP>
Date: Tue, 29-Oct-85 16:06:23 EST
Article-I.D.: dcl-cs.748
Posted: Tue Oct 29 16:06:23 1985
Date-Received: Thu, 31-Oct-85 08:58:06 EST
References: <2841@vax4.fluke.UUCP> <12695@rochester.UUCP>
Reply-To: stephen@dcl-cs.UUCP (Stephen J. Muir)
Organization: Department of Computing at Lancaster University.
Lines: 18

In article <12695@rochester.UUCP> ken@rochester.UUCP (and Vicki Herrieschopper) writes:
>In article <2841@vax4.fluke.UUCP> norm@fluke.UUCP (Norm Seethoff) writes:
>>	rshd does not establish the same umask as login.  Files created
>>	via commands executed by rshd on behalf of a remote client have
>>	world write permission.
>
>On our system (4.2 BSD) I worked around the problem by putting the
>umask statement in .cshrc instead of .login. You will need to do this
>anyway if you want anything other than the default.

Personally, I would rather change "/etc/init" to set the default umask to 022.
This is because "/etc/cron" also suffers from this problem.
-- 
UUCP:	...!seismo!mcvax!ukc!dcl-cs!stephen
DARPA:	stephen%lancs.comp@ucl-cs	| Post: University of Lancaster,
JANET:	stephen@uk.ac.lancs.comp	|	Department of Computing,
Phone:	+44 524 65201 Ext. 4599		|	Bailrigg, Lancaster, UK.
Project:Alvey ECLIPSE Distribution	|	LA1 4YR