Skip to content

Check permissions on netrc file

Leo P. Singer requested to merge leo-singer/lvalert:safe_netrc into master

The netrc.netrc class from the Python standard library applies access safety checks (requiring that the netrc file is readable only by the current user, and not by group members or other users) only if using the netrc file in the default location (~/.netrc). This subclass applies the same access safety checks regardless of the path to the netrc file.

Merge request reports