public static void addFilePermision(final Path path, final PosixFilePermission... posixFilePermission) throws IOException {
        final Set<PosixFilePermission> filePermissions = Files.getPosixFilePermissions(path);
        final Set<PosixFilePermission> newPermissions = new HashSet<>(filePermissions);
        newPermissions.addAll(Arrays.asList(posixFilePermission));
        Files.setPosixFilePermissions(path, newPermissions);
    }
Similar to the unix touch cammand. Sets the last modified time to now if the file
exists else, creates the file

@throws IOException
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/FileUtil.java