diff options
author | Brian Gix <brian.gix@intel.com> | 2021-02-23 10:39:57 -0800 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2021-02-23 16:59:46 -0800 |
commit | b02298efd3d3f88bccfe3b0b150b96b5e45cf81d (patch) | |
tree | 8a12e492786f6b7238453543d8b42dbbfb32c1b8 /mesh | |
parent | a670a23b081b1e9461204c20a7f102e017533eab (diff) | |
download | bluez-b02298efd3d3f88bccfe3b0b150b96b5e45cf81d.tar.gz |
mesh: Cleanup deprecated symbolic file permissions
Diffstat (limited to 'mesh')
-rw-r--r-- | mesh/rpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/rpl.c b/mesh/rpl.c index 7cea8e346..ac0f6b6f2 100644 --- a/mesh/rpl.c +++ b/mesh/rpl.c @@ -62,7 +62,7 @@ bool rpl_put_entry(struct mesh_node *node, uint16_t src, uint32_t iv_index, snprintf(src_file, PATH_MAX, "%s%s/%8.8x/%4.4x", node_path, rpl_dir, iv_index, src); - fd = open(src_file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); + fd = open(src_file, O_WRONLY | O_CREAT | O_TRUNC, 0600); if (fd >= 0) { snprintf(seq_txt, 7, "%6.6x", seq); if (write(fd, seq_txt, 6) == 6) |