From 0f4b6fd4000f008a3b6fad651dc6b5b9752ac50c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 13 Sep 2019 16:32:50 +0200 Subject: [DeleteFile] Allow deleting files in HTTP boot dir --- src/main/java/org/openslx/taskmanager/tasks/DeleteFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openslx/taskmanager/tasks/DeleteFile.java b/src/main/java/org/openslx/taskmanager/tasks/DeleteFile.java index 8c0f9a1..08e7af0 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/DeleteFile.java +++ b/src/main/java/org/openslx/taskmanager/tasks/DeleteFile.java @@ -14,7 +14,7 @@ public class DeleteFile extends AbstractTask { protected static final String[] ALLOWED_DIRS = - { "/tmp/", "/opt/openslx/configs/" }; + { "/tmp/", "/opt/openslx/configs/", "/srv/openslx/www/boot" }; @Expose private String file = null; -- cgit v1.2.3-55-g7522