change perms on append too

This commit is contained in:
zzz
2010-10-07 15:13:54 +00:00
parent 8ac5d5d5fc
commit 373fce2988
2 changed files with 5 additions and 4 deletions

View File

@@ -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);
}