summaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/consts.rs
diff options
context:
space:
mode:
authorJae-Heon Ji <32578710+jaeheonji@users.noreply.github.com>2022-04-16 16:11:46 +0900
committerGitHub <noreply@github.com>2022-04-16 16:11:46 +0900
commitf2a7e73687a3fbdce3ee8ace63f4b741239fd41d (patch)
tree132f0f378bb7ee414eb4544532551f19885eb685 /zellij-utils/src/consts.rs
parent348740f5fac147d3f44dc7f3712d79f35bc03483 (diff)
fix: minor system improvements (#1328)
Diffstat (limited to 'zellij-utils/src/consts.rs')
-rw-r--r--zellij-utils/src/consts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-utils/src/consts.rs b/zellij-utils/src/consts.rs
index cd3180023..39d125c78 100644
--- a/zellij-utils/src/consts.rs
+++ b/zellij-utils/src/consts.rs
@@ -46,7 +46,7 @@ lazy_static! {
pub static ref ZELLIJ_IPC_PIPE: PathBuf = {
let mut sock_dir = ZELLIJ_SOCK_DIR.clone();
fs::create_dir_all(&sock_dir).unwrap();
- set_permissions(&sock_dir).unwrap();
+ set_permissions(&sock_dir, 0o700).unwrap();
sock_dir.push(envs::get_session_name().unwrap());
sock_dir
};