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

Fix permissions on folder '/run/NetworkManager/' #422

Merged
merged 2 commits into from Nov 23, 2023
Merged

Commits on Nov 23, 2023

  1. Fix permissions on folder '/run/NetworkManager/'

    When the Netplan systemd generator runs before the NetworkManager service, Netplan will
    preempt NetworkManager from creating folder '/run/NetworkManager' and will assign it
    permissions 700.
    This is a side effect of the call to umask in function write_nm_conf_access_point,
    made to restrict the permissions on subfolder '/run/NetworkManger/system-connections'.
    A regular user needs to read from /run/NetworkManager where, in some
    systems, files such as resolv.conf ultimately reside.
    Mathieu Dugal authored and slyon committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    d7684c0 View commit details
    Browse the repository at this point in the history
  2. cli:try: avoid linting error for type hints

    Newer versions of pyflakes (3.0.0+) deprecated python2.x "# type:" comments (PEP 484).
    Let's avoid that failure.
    slyon committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    0cc22de View commit details
    Browse the repository at this point in the history