X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5afd8aedce004cc11700285c16ea84f1e857d473..79fc6bdb4501ad9fc1e7b2b5350edab5c6d7fc46:/rsync.h diff --git a/rsync.h b/rsync.h index 92823bbc..3e040d4f 100644 --- a/rsync.h +++ b/rsync.h @@ -462,10 +462,13 @@ extern int errno; #define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode) || S_ISSOCK(mode) || S_ISFIFO(mode)) +#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 INITPERMMASK 0700 +#define INITACCESSPERMS 0700 /* handler for null strings in printf format */ #define NS(s) ((s)?(s):"")