The history file gets created with default permissions (before applying umask) of 0666, which, assuming a default umask of 022, leaves the history file world readable. This could result in sensitive information being exposed. A better default would be 0660.
The history file gets created with default permissions (before applying umask) of
0666, which, assuming a default umask of 022, leaves the history file world readable. This could result in sensitive information being exposed. A better default would be0660.