Lines Matching defs:mode
51 * Use view to update permission to the given mode and check that the
54 static void testPermissions(Path file, String mode) throws IOException {
55 System.out.format("change mode: %s\n", mode);
56 Set<PosixFilePermission> perms = PosixFilePermissions.fromString(mode);
95 * Create file with given mode and check that the file is created with a
96 * mode that is not less secure
99 String mode)
102 Set<PosixFilePermission> requested = PosixFilePermissions.fromString(mode);
105 System.out.format("create file with mode: %s\n", mode);
116 System.out.format("create directory with mode: %s\n", mode);