Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 690b4b20d132e6b3c58065cf76a9a91a945187b8 Author: Raniconduh <clagv.randomgames@gmail.com> Date: Mon Jan 31 21:54:58 2022 +0000 changed directory create modes to 755 diff --git a/src/opts.c b/src/opts.c index 35a2067..74b2f3a 100644 --- a/src/opts.c +++ b/src/opts.c @@ -7413 +7413 @@ bool check_config(void) {    void create_config(void) {   struct stat st_buf; - // set with mode rwx------ + // set with mode rwxr-xr-x   if (stat(default_config_dir, &st_buf) < 0) - mkdir(default_config_dir, 0700); + mkdir(default_config_dir, 0755);   - // set with mode rw-rw-r- + // set with mode rwxr-xr-x   if (stat(csc_config_path, &st_buf) < 0) - mkdir(csc_config_path, 0664); + mkdir(csc_config_path, 0755);     // create config file if it doesnt exist   if (stat(csc_config_file, &st_buf) < 0) {