From: Wayne Davison Date: Sun, 19 May 2013 21:25:58 +0000 (+0000) Subject: Use S_IXUSR instead of the now-obsolete S_IEXEC. X-Git-Tag: v3.1.0pre1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94073d20e43505f2a5caa25877b2641548c0000e;p=thirdparty%2Frsync.git Use S_IXUSR instead of the now-obsolete S_IEXEC. --- diff --git a/batch.c b/batch.c index 23e86337..afda1f97 100644 --- a/batch.c +++ b/batch.c @@ -221,7 +221,7 @@ void write_batch_shell_file(int argc, char *argv[], int file_arg_cnt) stringjoin(filename, sizeof filename, batch_name, ".sh", NULL); fd = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC, - S_IRUSR | S_IWUSR | S_IEXEC); + S_IRUSR | S_IWUSR | S_IXUSR); if (fd < 0) { rsyserr(FERROR, errno, "Batch file %s open error", filename);