diff options
author | Thomas Linford <tlinford@users.noreply.github.com> | 2021-10-12 14:41:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 18:11:16 +0530 |
commit | 45af3e427985be811c6de6c79c3bf931b9ae2439 (patch) | |
tree | 7d5bf40545c94b5d941384aff93e94b279262a87 /src/main.rs | |
parent | 21901c6e79c0f0d190c42513be27b008752306ff (diff) |
Preserve current umask (#777)
* preserve umask when starting server
* make sure log files are created with explicit permissions
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 70734ae4f..0cacc3759 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,6 @@ use zellij_client::{os_input_output::get_client_os_input, start_client, ClientIn use zellij_server::{os_input_output::get_server_os_input, start_server}; use zellij_utils::{ cli::{CliArgs, Command, SessionCommand, Sessions}, - consts::{ZELLIJ_TMP_DIR, ZELLIJ_TMP_LOG_DIR}, logging::*, setup::{get_default_data_dir, Setup}, structopt::StructOpt, @@ -84,8 +83,6 @@ pub fn main() { } } - atomic_create_dir(&*ZELLIJ_TMP_DIR).unwrap(); - atomic_create_dir(&*ZELLIJ_TMP_LOG_DIR).unwrap(); if let Some(path) = opts.server { let os_input = match get_server_os_input() { Ok(server_os_input) => server_os_input, |