change perms on append too

This commit is contained in:
zzz committed 2010-10-07 15:13:54 +00:00
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);
}