Skip to main content

[truezip-commits] [truezip~v7:6198] Resolved #TRUEZIP-341.

  • From: christian_schlichtherle@...
  • To: commits@...
  • Subject: [truezip-commits] [truezip~v7:6198] Resolved #TRUEZIP-341.
  • Date: Thu, 27 Feb 2014 11:11:13 +0000

Project:    truezip
Repository: v7
Revision:   6198
Author:     christian_schlichtherle
Date:       2014-02-27 11:10:59 UTC
Link:       

Log Message:
------------
Resolved #TRUEZIP-341.


Revisions:
----------
6198


Modified Paths:
---------------
truezip-driver/truezip-driver-file/src/main/java/de/schlichtherle/truezip/fs/nio/file/TempFilePool.java


Diffs:
------
diff -r cd57cbb7e381 -r 1fb190ea22e5 
truezip-driver/truezip-driver-file/src/main/java/de/schlichtherle/truezip/fs/nio/file/TempFilePool.java
--- 
a/truezip-driver/truezip-driver-file/src/main/java/de/schlichtherle/truezip/fs/nio/file/TempFilePool.java
   Mon Jan 27 13:10:25 2014 +0100
+++ 
b/truezip-driver/truezip-driver-file/src/main/java/de/schlichtherle/truezip/fs/nio/file/TempFilePool.java
   Thu Feb 27 12:10:59 2014 +0100
@@ -6,14 +6,28 @@
 
 import de.schlichtherle.truezip.socket.IOPool;
 import java.io.IOException;
-import java.nio.file.*;
-import static java.nio.file.Files.*;
-import java.nio.file.attribute.*;
-import static java.nio.file.attribute.PosixFilePermission.*;
+import java.nio.file.FileSystems;
+import java.nio.file.Files;
+import static java.nio.file.Files.createDirectories;
+import static java.nio.file.Files.deleteIfExists;
+import static java.nio.file.Files.exists;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.nio.file.attribute.FileAttribute;
+import java.nio.file.attribute.PosixFilePermission;
+import static java.nio.file.attribute.PosixFilePermission.GROUP_READ;
+import static java.nio.file.attribute.PosixFilePermission.GROUP_WRITE;
+import static java.nio.file.attribute.PosixFilePermission.OTHERS_READ;
+import static java.nio.file.attribute.PosixFilePermission.OTHERS_WRITE;
+import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
+import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
+import java.nio.file.attribute.PosixFilePermissions;
 import java.util.EnumSet;
 import java.util.Set;
-import javax.annotation.*;
-import javax.annotation.concurrent.*;
+import javax.annotation.CheckForNull;
+import javax.annotation.Nullable;
+import javax.annotation.concurrent.NotThreadSafe;
+import javax.annotation.concurrent.ThreadSafe;
 
 /**
  * This I/O pool creates and deletes temporary files as {@link FileEntry}s.
@@ -48,7 +62,9 @@
 
     private static FileAttribute<Set<PosixFilePermission>> 
posixPermissions() {
         return PosixFilePermissions.asFileAttribute(
-                EnumSet.of(OWNER_READ, OWNER_WRITE));
+                EnumSet.of(OWNER_READ, OWNER_WRITE,
+                           GROUP_READ, GROUP_WRITE,
+                           OTHERS_READ, OTHERS_WRITE));
     }
 
     /**






[truezip-commits] [truezip~v7:6198] Resolved #TRUEZIP-341.

christian_schlichtherle 02/27/2014
 
 
Close
loading
Please Confirm
Close