- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setReadable (0.06 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
// Make file unreadable on Unix-like systems boolean isWindows = System.getProperty("os.name").toLowerCase().contains("windows"); if (!isWindows) { assertTrue(lmhostsFile.setReadable(false)); } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); if (!isWindows) { // Should handle IOException gracefully and return null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
*/ public File createTempFile(final String prefix, final String suffix) { try { final File file = File.createTempFile(prefix, suffix); file.setReadable(false, false); file.setReadable(true, true); file.setWritable(false, false); file.setWritable(true, true); if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)