From 133789517afb0afdf08b2e2352022e3ba379ebd1 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 29 May 2024 09:26:08 +0200 Subject: [PATCH] Add group write permission to xymodem received file --- src/xymodem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xymodem.c b/src/xymodem.c index 1b6c1bc..606093a 100644 --- a/src/xymodem.c +++ b/src/xymodem.c @@ -711,7 +711,7 @@ int xymodem_receive(int sio, const char *filename, modem_mode_t mode) int rc, fd; /* Create new file */ - fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644); + fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0664); if (fd < 0) { tio_error_print("Could not open file"); return ERR;