diff mbox series

[BlueZ,1/6] mesh: Cleanup deprecated symbolic file permissions

Message ID 20210223190252.483784-2-brian.gix@intel.com
State New
Headers show
Series Cleanup: replace symbolic file permissions | expand

Commit Message

Brian Gix Feb. 23, 2021, 7:02 p.m. UTC
---
 mesh/rpl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

An, Tedd Feb. 23, 2021, 10:47 p.m. UTC | #1
Hi Brian,

On 2/23/21, 11:40 AM, "bluez.test.bot@gmail.com" <bluez.test.bot@gmail.com> wrote:

    This is automated email and please do not reply to this email!

    Dear submitter,

    Thank you for submitting the patches to the linux bluetooth mailing list.
    This is a CI test results with your patch series:
    PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437329

    ---Test result---

    ##############################
    Test: CheckPatch - PASS

    ##############################
    Test: CheckGitLint - FAIL
    Output:
    mesh: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing

    obexd: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing

    peripheral: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing

    profiles: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing

    src: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing

    tools: Cleanup deprecated symbolic file permissions
    3: B6 Body message is missing


    ##############################
    Test: CheckBuild - FAIL
    Output:
    configure.ac:21: installing './compile'
    configure.ac:33: installing './config.guess'
    configure.ac:33: installing './config.sub'
    configure.ac:5: installing './install-sh'
    configure.ac:5: installing './missing'
    Makefile.am: installing './depcomp'
    parallel-tests: installing './test-driver'
    configure: error: Embedded Linux library >= 0.37 is required

There was an issue with Docker image and it is resolved by now.
Please wait for the next test result.

    ##############################
    Test: MakeCheck - SKIPPED
    Output:
    checkbuild not success



    ---
    Regards,
    Linux Bluetooth
bluez.test.bot@gmail.com Feb. 23, 2021, 10:58 p.m. UTC | #2
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=437329

---Test result---

##############################
Test: CheckPatch - PASS

##############################
Test: CheckGitLint - FAIL
Output:
mesh: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing

obexd: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing

peripheral: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing

profiles: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing

src: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing

tools: Cleanup deprecated symbolic file permissions
3: B6 Body message is missing


##############################
Test: CheckBuild - PASS

##############################
Test: MakeCheck - PASS



---
Regards,
Linux Bluetooth
diff mbox series

Patch

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)