projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Relayd add_stream command handle tracefile rotation
[lttng-tools.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 9f3a8f942b1176867fc7e0d55253cbae321f6130..b16cdc97c2738ad70c23624fc91295c3317b1a66 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-340,8
+340,9
@@
int utils_create_stream_file(char *path_name, char *file_name, uint64_t size,
path = full_path;
}
path = full_path;
}
+ /* Open with 660 mode */
out_fd = run_as_open(path, O_WRONLY | O_CREAT | O_TRUNC,
out_fd = run_as_open(path, O_WRONLY | O_CREAT | O_TRUNC,
- S_IR
WXU | S_IRWXG | S_IRWXO
, uid, gid);
+ S_IR
USR | S_IWUSR | S_IRGRP | S_IWGRP
, uid, gid);
if (out_fd < 0) {
PERROR("open stream path %s", path);
goto error_open;
if (out_fd < 0) {
PERROR("open stream path %s", path);
goto error_open;
This page took
0.023982 seconds
and
4
git commands to generate.