diff --git a/chameleon-server/chameleon-vision.iml b/chameleon-server/chameleon-vision.iml
index 313fedcae..93abb3b87 100644
--- a/chameleon-server/chameleon-vision.iml
+++ b/chameleon-server/chameleon-vision.iml
@@ -12,62 +12,62 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/chameleon-server/src/main/java/com/chameleonvision/util/FileHelper.java b/chameleon-server/src/main/java/com/chameleonvision/util/FileHelper.java
index 1ff3c139c..13ff9e3a2 100644
--- a/chameleon-server/src/main/java/com/chameleonvision/util/FileHelper.java
+++ b/chameleon-server/src/main/java/com/chameleonvision/util/FileHelper.java
@@ -32,13 +32,19 @@ public class FileHelper {
}
public static void setAllPerms(Path path) {
- String command = String.format("chmod 777 -R %s", path.toString());
- try {
- Process p = Runtime.getRuntime().exec(command);
- p.waitFor();
+ if (!Platform.CurrentPlatform.isWindows()) {
+ String command = String.format("chmod 777 -R %s", path.toString());
+ try {
+ Process p = Runtime.getRuntime().exec(command);
+ p.waitFor();
- } catch (Exception e) {
- e.printStackTrace();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ } else {
+ // TODO file perms on Windows
+ System.out.println("File permission setting not available on Windows. Not changing file permissions.");
}
+
}
}