From 5017877ac081d60f3a533f9caf88763f795333d9 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 29 May 2025 07:01:38 +0000 Subject: [PATCH] Fixed mkdir rules --- source/libublsettings-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libublsettings-file.c b/source/libublsettings-file.c index 3f5d2f0..ddf224b 100644 --- a/source/libublsettings-file.c +++ b/source/libublsettings-file.c @@ -83,7 +83,7 @@ int yon_file_create_full_path(char *path, mode_t rules){ if (!yon_char_is_empty(temp)){ if (access(temp,F_OK)){ if (i!=size-1){ - mkdir(temp,0644); + mkdir(temp,755); struct passwd *user = getpwnam(yon_ubl_root_user_get()); } else { FILE *fl = fopen(temp,"w");