private void initAccessOfDirectories() {
		workDirectory = normalize(new File(workDirectory).getAbsolutePath(), null);
		String logDirectory;
		if (workDirectory != null && !workDirectory.isEmpty()) {
			logDirectory = workDirectory.substring(0, workDirectory.lastIndexOf(File.separator));
			logDirectory = logDirectory.substring(0, workDirectory.lastIndexOf(File.separator)) + File.separator
					+ "log";
		} else {
			logDirectory = "log";
		}

		if (isNotEmpty(pythonCache)) {
			writeAllowedDirectory.add(pythonCache);
		}
		if (isNotEmpty(pythonHome)) {
			writeAllowedDirectory.add(pythonHome);
		}
		if (isNotEmpty(pythonPath)) {
			writeAllowedDirectory.add(pythonPath);
		}
		if (isNotEmpty(pythonCache)) {
			writeAllowedDirectory.add(pythonCache);
		}
		writeAllowedDirectory.add(workDirectory);
		writeAllowedDirectory.add(logDirectory);
		writeAllowedDirectory.add(getTempDirectoryPath());
		deleteAllowedDirectory.add(workDirectory);
	}
Set default accessed of directories. <br>
ngrinder-runtime/src/main/java/org/ngrinder/sm/NGrinderSecurityManager.java