Repository: vcl
Updated Branches:
  refs/heads/develop 6741fa48d -> d0150becc


VCL-1101 Changing chmod 755 from string to octal value


Project: http://git-wip-us.apache.org/repos/asf/vcl/repo
Commit: http://git-wip-us.apache.org/repos/asf/vcl/commit/0f62b8af
Tree: http://git-wip-us.apache.org/repos/asf/vcl/tree/0f62b8af
Diff: http://git-wip-us.apache.org/repos/asf/vcl/diff/0f62b8af

Branch: refs/heads/develop
Commit: 0f62b8afde3b2dd53d16dc8f770d41533f3b459c
Parents: 2fb5c2d
Author: Mike Jennings <[email protected]>
Authored: Mon May 21 12:49:36 2018 -0400
Committer: Mike Jennings <[email protected]>
Committed: Mon May 21 12:49:36 2018 -0400

----------------------------------------------------------------------
 managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/vcl/blob/0f62b8af/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
----------------------------------------------------------------------
diff --git a/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm 
b/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
index aa465ff..dc2d51a 100644
--- a/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
+++ b/managementnode/lib/VCL/Module/Provisioning/VMware/VMware.pm
@@ -1945,7 +1945,7 @@ sub prepare_vmx {
        }
        
        # The vmx file should be set to executable
-       chmod("0755", "/tmp/$vmx_file_name");
+       chmod(0755, "/tmp/$vmx_file_name");
        
        # Copy the temporary vmx file the the VM host
        $self->vmhost_os->copy_file_to($temp_vmx_file_path, $vmx_file_path) || 
return;

Reply via email to