Permissions for /etc/netplan/01-netcfg.yaml are too open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
With a single desktop default installation, i get this logged:
generate[1125]: Permissions for /etc/netplan/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: netplan-generator 0.107-5ubuntu2
ProcVersionSign
Uname: Linux 6.5.0-14-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Sun Nov 26 10:41:15 2023
ProcEnviron:
LANG=fr_FR.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
SourcePackage: netplan.io
UpgradeStatus: No upgrade log present (probably fresh install)
This is a warning from the Netplan side, which should not affect functionality.
The permissions (chmod) on /etc/netplan/ 01-netcfg. yaml should match 0o600 and subiquity might not be using the most restrictive permissions here, yet.
So you can run somethink like this as a workaround: 01-netcfg. yaml
$ sudo chmod 600 /etc/netplan/
Let's re-assign to subiquity to double-check that.