From cd4449e7abe97b2bc883e2d182db2cc41eb35f8c Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 7 Apr 2019 15:46:52 -0300 Subject: Add FileAccess::set_unix_permissions for Unix platforms --- platform/osx/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx') diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index 5e94bc457b..1a63d6ff75 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -568,7 +568,7 @@ Error EditorExportPlatformOSX::export_project(const Ref &p_p f->close(); if (is_execute) { // Chmod with 0755 if the file is executable - f->_chmod(file, 0755); + FileAccess::set_unix_permissions(file, 0755); } memdelete(f); } else { -- cgit v1.2.3