diff options
author | Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> | 2022-04-16 16:11:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 16:11:46 +0900 |
commit | f2a7e73687a3fbdce3ee8ace63f4b741239fd41d (patch) | |
tree | 132f0f378bb7ee414eb4544532551f19885eb685 /zellij-server/src/lib.rs | |
parent | 348740f5fac147d3f44dc7f3712d79f35bc03483 (diff) |
fix: minor system improvements (#1328)
Diffstat (limited to 'zellij-server/src/lib.rs')
-rw-r--r-- | zellij-server/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-server/src/lib.rs b/zellij-server/src/lib.rs index 88f850139..0e530dfcb 100644 --- a/zellij-server/src/lib.rs +++ b/zellij-server/src/lib.rs @@ -230,7 +230,7 @@ pub fn start_server(mut os_input: Box<dyn ServerOsApi>, socket_path: PathBuf) { move || { drop(std::fs::remove_file(&socket_path)); let listener = LocalSocketListener::bind(&*socket_path).unwrap(); - set_permissions(&socket_path).unwrap(); + set_permissions(&socket_path, 0o700).unwrap(); for stream in listener.incoming() { match stream { Ok(stream) => { |