IDEA-122701 IDEA doesn't start on Mac under one of the user accounts after patch update

This commit is contained in:
Vladimir Orlov
2014-04-03 18:19:48 +04:00
parent f7a20ff5b3
commit 12b5eed05b
+1 -1
View File
@@ -65,7 +65,7 @@ public class Utils {
}
public static void setExecutable(File file, boolean executable) throws IOException {
if (executable && !file.setExecutable(true)) {
if (executable && !file.setExecutable(true, false)) {
Runner.logger.error("Can't set executable permissions for file");
throw new IOException("Cannot set executable permissions for: " + file);
}