fix socket permissions

This commit is contained in:
Robin Appelman 2025-06-25 13:36:00 +02:00
commit 2a2bfb2a72

View file

@ -64,7 +64,7 @@ async fn main() -> MainResult {
if !parent.exists() { if !parent.exists() {
create_dir_all(parent) create_dir_all(parent)
.map_err(|error| SetupError::CreateSocketParent { error, path: parent.into() })?; .map_err(|error| SetupError::CreateSocketParent { error, path: parent.into() })?;
set_permissions(parent, PermissionsExt::from_mode(0o755)) set_permissions(parent, PermissionsExt::from_mode(0o666))
.map_err(|error| SetupError::SocketParentPermissions { error, path: parent.into() })?; .map_err(|error| SetupError::SocketParentPermissions { error, path: parent.into() })?;
} }
} }