NIFI-7531 - changed RW to RO access requirement on autoload NARs directory

This commit is contained in:
Pierre Villard 2020-06-15 11:22:37 +02:00 committed by Bryan Bende
parent 2c45a80ef4
commit 7f0b188be4
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ public class NarAutoLoader {
return;
}
FileUtils.ensureDirectoryExistAndCanReadAndWrite(autoLoadDir);
FileUtils.ensureDirectoryExistAndCanRead(autoLoadDir);
final WatchService watcher = FileSystems.getDefault().newWatchService();

View File

@ -33,9 +33,9 @@ import java.util.stream.Collectors;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.hasItem;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assume.assumeTrue;
public class TestLoadNativeLibFromNar extends AbstractTestNarLoader {

View File

@ -34,9 +34,9 @@ import java.util.stream.Collectors;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.hasItem;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assume.assumeTrue;
public class TestLoadNativeLibViaSystemProperty extends AbstractTestNarLoader {