Add group write permission to xymodem received file

This commit is contained in:
Martin Lund 2024-05-29 09:26:08 +02:00
parent 7e0bd980f2
commit 133789517a

View file

@ -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;