Change the mask used when creating temporary files from 777 to 700, to prevent
authorDavid Dykstra <dwd@samba.org>
Mon, 1 Mar 1999 21:22:54 +0000 (21:22 +0000)
committerDavid Dykstra <dwd@samba.org>
Mon, 1 Mar 1999 21:22:54 +0000 (21:22 +0000)
commit5afd8aedce004cc11700285c16ea84f1e857d473
treedf5f66754bd4510b3a194f1b007e8214f437d185
parent86692050b54b16e5b289ddeacbb59f890455cca7
Change the mask used when creating temporary files from 777 to 700, to prevent
an obscure race-condition security hole where a file may for a short time
have the wrong group.  Could have used 707 instead but that's just too weird
of a permission.  The define name used to be ACCESSPERMS but that is defined
as 777 on Linux, so changed the name to INITPERMMASK.
receiver.c
rsync.c
rsync.h