Author: Kevin Schoon [me@kevinschoon.com]
Hash: c72b0fd85123cd869ef084550f250078d27beb4d
Timestamp: Fri, 31 May 2024 07:43:16 +0000 (1 month ago)

+1 -1 +/-1 browse
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 }