X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a8b9d4edec745757d34a10be0f6956c0609c2284..972a3619c4ea253671e2fe0897f99af897782e26:/rsync.h diff --git a/rsync.h b/rsync.h index 92ba2561..3e040d4f 100644 --- a/rsync.h +++ b/rsync.h @@ -465,6 +465,10 @@ extern int errno; #ifndef ACCESSPERMS #define ACCESSPERMS 0777 #endif +/* Initial mask on permissions given to temporary files. Mask off setuid + bits and group access because of potential race-condition security + holes, and mask other access because mode 707 is bizarre */ +#define INITACCESSPERMS 0700 /* handler for null strings in printf format */ #define NS(s) ((s)?(s):"")