Fix permissions for created config folders

This commit is contained in:
blankie 2023-06-21 19:33:16 +07:00
parent 4f5219bbbe
commit dd2be8cb81
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void create_config_folders_if_necessary() {
pos++; pos++;
} }
path = full_path.substr(0, pos); path = full_path.substr(0, pos);
if (!mkdir(path.c_str(), 0600)) { if (!mkdir(path.c_str(), 0700)) {
continue; continue;
} }
if (errno == EEXIST) { if (errno == EEXIST) {