* Router: Set permissions on wrapper.log when not called by RouterLaunch

This commit is contained in:
zzz
2010-10-24 16:52:41 +00:00
parent 4bb902a8b9
commit b1f1725506
2 changed files with 14 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ public class SecureFileOutputStream extends FileOutputStream {
* Tries to set the permissions to 600,
* ignores errors
*/
private static void setPerms(File f) {
public static void setPerms(File f) {
if (!canSetPerms)
return;
try {