* Router: Set permissions on router.ping file

This commit is contained in:
zzz
2011-09-14 12:59:53 +00:00
parent c54dd79b3a
commit bd06a44706

View File

@@ -1814,7 +1814,7 @@ private static class MarkLiveliness implements SimpleTimer.TimedEvent {
private void ping() {
FileOutputStream fos = null;
try {
fos = new FileOutputStream(_pingFile);
fos = new SecureFileOutputStream(_pingFile);
fos.write(("" + System.currentTimeMillis()).getBytes());
} catch (IOException ioe) {
System.err.println("Error writing to ping file");