Wed, 5 Jul 2000 15:20:24 -0400
|
David Alix wrote:
>
> Try putting the line:
> umask 066
>
> in your go.user file. All files created by LSV should have permissions
> rwx------ (i.e., 600) after that. (this was on a suggestion to me from LSOFT
> tech support).
Shouldn't that be 'umask 077' if you want to block all of the group and world
permission bits? A mask of "066" will still allow the creation of files
with a permission of "rwx--x--x"
Also, having a "077" umask won't guarantee that all files are created as
rwx------, but will make sure that the "owner" bits are set as requested
and that all other bits are not set. so, you could get
r-------- ---------
rw------- -w-------
r-x------ --x------
rwx------ -wx------
depending upon which bits are set by the requesting by the program, but
nothing in the last six places.
Harold
|
|
|