diff --git a/src/includes/cli/binaries.php b/src/includes/cli/binaries.php index b151936..4e369e4 100644 --- a/src/includes/cli/binaries.php +++ b/src/includes/cli/binaries.php @@ -68,7 +68,7 @@ function loadcli() { // Set correct owner and permissions shell_exec('sudo chown xc_vm:xc_vm "' . $rFile['path'] . '"'); - shell_exec('sudo chmod ' . $rFile["permision"] . ' "' . $rFile['path'] . '"'); + shell_exec('sudo chmod ' . $rFile["permission"] . ' "' . $rFile['path'] . '"'); $rUpdated = true; } } diff --git a/src/includes/libs/GithubReleases.php b/src/includes/libs/GithubReleases.php index 3278a06..09bbac3 100644 --- a/src/includes/libs/GithubReleases.php +++ b/src/includes/libs/GithubReleases.php @@ -431,7 +431,7 @@ class GitHubReleases { $data_files[] = [ "fileurl" => $file_url, // Remote file URL "path" => "/home/xc_vm/bin/maxmind/{$file}", // Local path where the file should be stored - "permision" => "0750", // File permission + "permission" => "0750", // File permission "md5" => $hash_md5 // File hash (MD5) ]; }