summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix_pipe.cpp
diff options
context:
space:
mode:
authorAndrew Price <andy@adpx.net>2024-08-31 18:35:15 +0100
committerAndrew Price <andy@adpx.net>2024-09-06 17:36:21 +0100
commitf49c9d7cd1d33586fbd106057a894b3effc04331 (patch)
tree6a71b1c0d065d55ea1a15c2a294396f76a880045 /drivers/unix/file_access_unix_pipe.cpp
parent05d985496c73577fb0b44291345da5f2dbe09844 (diff)
downloadredot-engine-f49c9d7cd1d33586fbd106057a894b3effc04331.tar.gz
unix: Don't create world-writable files when safe save is enabled
When the "filesystem/on_save/safe_save_on_backup_then_rename" option is enabled files are created with 0666 permissions (-rw-rw-rw-) which is too loose. Use 0644 (-rw-r--r--) instead which is how the files would normally be created with the setting disabled and the system umask taken into account.
Diffstat (limited to 'drivers/unix/file_access_unix_pipe.cpp')
0 files changed, 0 insertions, 0 deletions