From 58fb6dce58b119439cc513405e791a4910731eda Mon Sep 17 00:00:00 2001 From: Brian Gix Date: Tue, 23 Feb 2021 10:51:20 -0800 Subject: tools: Cleanup deprecated symbolic file permissions --- tools/rctest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/rctest.c') diff --git a/tools/rctest.c b/tools/rctest.c index 494359a88..7d688691c 100644 --- a/tools/rctest.c +++ b/tools/rctest.c @@ -631,8 +631,7 @@ static void automated_send_recv() do_listen(recv_mode); } - save_fd = open(savefile, O_CREAT | O_WRONLY, - S_IRUSR | S_IWUSR); + save_fd = open(savefile, O_CREAT | O_WRONLY, 0600); if (save_fd < 0) syslog(LOG_ERR, "Failed to open file to save data"); -- cgit v1.2.1