Short summary of the problem

Stephen J. Muir stephen at dcl-cs.UUCP
Wed Oct 30 07:06:23 AEST 1985


In article <12695 at rochester.UUCP> ken at rochester.UUCP (and Vicki Herrieschopper) writes:
>In article <2841 at vax4.fluke.UUCP> norm at 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 at ucl-cs	| Post: University of Lancaster,
JANET:	stephen at uk.ac.lancs.comp	|	Department of Computing,
Phone:	+44 524 65201 Ext. 4599		|	Bailrigg, Lancaster, UK.
Project:Alvey ECLIPSE Distribution	|	LA1 4YR



More information about the Comp.bugs.4bsd.ucb-fixes mailing list