From 7d88cd576cf72bb9c62ab393ea16f9c673861182 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Wed, 6 Dec 2023 20:32:03 +0100 Subject: [PATCH] Fix permission issue --- virtweb_backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtweb_backend/src/main.rs b/virtweb_backend/src/main.rs index 134a2d2..71fd211 100644 --- a/virtweb_backend/src/main.rs +++ b/virtweb_backend/src/main.rs @@ -35,7 +35,7 @@ async fn main() -> std::io::Result<()> { log::debug!("Create required directory, if missing"); files_utils::create_directory_if_missing(AppConfig::get().iso_storage_path()).unwrap(); files_utils::create_directory_if_missing(AppConfig::get().vnc_sockets_path()).unwrap(); - files_utils::set_file_permission(AppConfig::get().vnc_sockets_path(), 0o644).unwrap(); + files_utils::set_file_permission(AppConfig::get().vnc_sockets_path(), 0o777).unwrap(); files_utils::create_directory_if_missing(AppConfig::get().disks_storage_path()).unwrap(); let conn = Data::new(LibVirtClient(