LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Harold Pritchett <[log in to unmask]>
Wed, 5 Jul 2000 15:20:24 -0400
text/plain (25 lines)
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

ATOM RSS1 RSS2