Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=19720
[fs/lustre-release.git]
/
lustre
/
utils
/
lreplicate.c
diff --git
a/lustre/utils/lreplicate.c
b/lustre/utils/lreplicate.c
index
b9aeb49
..
f29dc73
100644
(file)
--- a/
lustre/utils/lreplicate.c
+++ b/
lustre/utils/lreplicate.c
@@
-1110,7
+1110,8
@@
int lr_write_log()
lr_backup_log();
- fd = open(statuslog, O_WRONLY | O_CREAT | O_SYNC);
+ fd = open(statuslog, O_WRONLY | O_CREAT | O_SYNC,
+ S_IRUSR | S_IWUSR);
if (fd == -1) {
fprintf(stderr, "Error opening log file for writing (%s)\n",
statuslog);