mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Fix permissions on Aphlict log
Summary: Currently, the Aphlict server created the log file (if it doesn't exist) but then immediately fails with "Unable to open logfile". It seems that we don't set the permissions correctly. Test Plan: Deleted log file and was able to start the Aphlict server. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11351
This commit is contained in:
parent
3d9dd45635
commit
270a0c54b4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ JX.install('AphlictLog', {
|
||||||
var options = {
|
var options = {
|
||||||
flags: 'a',
|
flags: 'a',
|
||||||
encoding: 'utf8',
|
encoding: 'utf8',
|
||||||
mode: 066
|
mode: 0664,
|
||||||
};
|
};
|
||||||
|
|
||||||
var logfile = fs.createWriteStream(path, options);
|
var logfile = fs.createWriteStream(path, options);
|
||||||
|
|
Loading…
Reference in a new issue