mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-10 13:48:25 +02:00
merge: branch 'main'
libnm: use correct directory permissions in nm_utils_copy_cert_as_user Closes #1957 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2424
This commit is contained in:
commit
87a7700460
1 changed files with 1 additions and 1 deletions
|
|
@ -6506,7 +6506,7 @@ nm_utils_copy_cert_as_user(const char *filename, const char *user, GError **erro
|
|||
nm_str_buf_destroy(&info.output_buffer);
|
||||
nm_str_buf_destroy(&info.error_buffer);
|
||||
|
||||
mkdir(RUN_CERT_DIR, 0600);
|
||||
mkdir(RUN_CERT_DIR, 0700);
|
||||
fd = mkstemp(dst_path);
|
||||
if (fd < 0) {
|
||||
g_set_error_literal(error,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue