Commit

Author:

Hash:

Timestamp:

+1 -1 +/-1 browse

Kevin Schoon [me@kevinschoon.com]

c72b0fd85123cd869ef084550f250078d27beb4d

Fri, 31 May 2024 07:43:16 +0000 (11 months ago)

fix set_group_writable to actually set group writable
1diff --git a/crates/rpc/src/lib.rs b/crates/rpc/src/lib.rs
2index 103f6ce..b914cfa 100644
3--- a/crates/rpc/src/lib.rs
4+++ b/crates/rpc/src/lib.rs
5 @@ -31,6 +31,6 @@ pub fn init_socket(path: &Path) -> Result<(), IoError> {
6 pub fn set_group_writable(path: &Path) -> Result<(), IoError> {
7 let metadata = path.metadata()?;
8 let mut permissions = metadata.permissions();
9- permissions.set_mode(0o755);
10+ permissions.set_mode(0o775);
11 Ok(())
12 }