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

Change default umask when creating dirctories (LP: #2076319) #497

Merged
merged 1 commit into from
Aug 13, 2024

Commits on Aug 12, 2024

  1. Change default umask when creating dirctories

    Security best practices recommend changing the default umask from 022
    to 027 to harden systems. However, when users set umask to 027,
    netplan creates directories with permissions that are not accessible
    to backends like systemd-network, resulting in issues during network
    configuration.
    
    This patch ensures that netplan generates directories with a 0755
    mask, regardless of the user's umask.
    
    fixes: lp2076319
    rmalz-c committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bbee680 View commit details
    Browse the repository at this point in the history