mirror of
https://codeberg.org/icewind/single-file-server.git
synced 2026-06-03 18:14:09 +02:00
fix socket permissions
This commit is contained in:
parent
be9bb03bc2
commit
2a2bfb2a72
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ async fn main() -> MainResult {
|
|||
if !parent.exists() {
|
||||
create_dir_all(parent)
|
||||
.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() })?;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue