mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
change perms on append too
This commit is contained in:
1 parent
8ac5d5d5fc
commit
373fce2988
2 files changed
+5
-4
No files matched your search
@@ -30,7 +30,7 @@ public class SecureFileOutputStream extends FileOutputStream {
|
||||
*/
|
||||
public SecureFileOutputStream(String file, boolean append) throws FileNotFoundException {
|
||||
super(file, append);
|
||||
if (!append)
|
||||
//if (!append)
|
||||
setPerms(new File(file));
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ public class SecureFileOutputStream extends FileOutputStream {
|
||||
*/
|
||||
public SecureFileOutputStream(File file, boolean append) throws FileNotFoundException {
|
||||
super(file, append);
|
||||
if (!append)
|
||||
//if (!append)
|
||||
setPerms(file);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user