Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set log files mode to 440 instead of 640. #134

Merged
merged 1 commit into from
Jun 10, 2019
Merged

Set log files mode to 440 instead of 640. #134

merged 1 commit into from
Jun 10, 2019

Conversation

jle64
Copy link
Contributor

@jle64 jle64 commented Jun 7, 2019

This PR just changes the mode on created tty log files. It seems to me it makes sense to have them set as read-only since they are audit files that usually have no reason to be altered outside of sshportal. This can help prevent mistakes (such as overwriting a log file by mistakenly using ttyrec on it instead of ttyplay, which happened to me).

@moul moul merged commit 8b2e5da into moul:master Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants