Fix permission issue
This commit is contained in:
parent
60d35f17bd
commit
7d88cd576c
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user