From 5fc76a58ff0687968d8f7096d918b47f80720539 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 29 May 2025 07:25:02 +0000 Subject: [PATCH] Chmod remove --- source/libublsettings-file.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/libublsettings-file.c b/source/libublsettings-file.c index 5410092..6ca2da0 100644 --- a/source/libublsettings-file.c +++ b/source/libublsettings-file.c @@ -89,10 +89,6 @@ int yon_file_create_full_path(char *path, mode_t rules){ } } - if (i>2){ - struct passwd *user = getpwnam(yon_ubl_root_user_get()); - int chown_success = chown(temp,user->pw_uid,user->pw_gid); - } } if (!yon_char_is_empty(current)) free(current); current = temp;