diff options
author | Wayne Davison <wayned@samba.org> | 2013-05-19 21:25:58 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2013-05-19 22:01:29 +0000 |
commit | 94073d20e43505f2a5caa25877b2641548c0000e (patch) | |
tree | 300d18699ff3c0677ce1a2d767e6b761d30e7ecc | |
parent | 750ec9bcdc96fbd6cc9797b7a6e622c02c59e82f (diff) | |
download | rsync-94073d20e43505f2a5caa25877b2641548c0000e.tar.gz |
Use S_IXUSR instead of the now-obsolete S_IEXEC.
-rw-r--r-- | batch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |