Lines Matching refs:permissions
45 * permissions have been updated.
51 // change permissions and re-read them.
55 throw new RuntimeException("Actual permissions: " +
61 Files.setAttribute(file, "posix:permissions", perms);
62 current = (Set<PosixFilePermission>)Files.getAttribute(file, "posix:permissions");
64 throw new RuntimeException("Actual permissions: " +
71 * Check that the actual permissions of a file match or make it more
79 throw new RuntimeException("Actual permissions: " +
104 .permissions());
115 .permissions());
122 * Test the setPermissions/permissions methods.
129 // create file and test updating and reading its permissions
134 // get initial permissions so that we can restore them later
138 .permissions();
171 // permissions