Permissions changed on /run/NetworkManager

Thomas Haller thaller at redhat.com
Fri Dec 15 18:55:35 UTC 2023


On Fri, 2023-12-15 at 18:44 +0000, Chris Green wrote:
> I recently upgraded my system from [x]ubuntu 23.04 to [x]ubuntu
> 23.10,
> it would appear that Network Manager has tightened up permissions on
> the /run/NetworkManager directory from 755 to 700. (NetworkManager
> has
> been upgraded from 1.42.4 to 1.44.2).
> 
> This causes me a problem because I have a customised dnsmasq
> installation that uses the file /run/NetworkManager/no-stub-
> resolv.conf
> to get the upstream DNS server.
> 
> Is there a way I can configure Network Manager to go back to the
> previous permisssions?  Alternatively can I get it to write the same
> information as is in no-stub-resolv.conf to some other more
> accessible
> place?
> 

That doesn't seem an upstream change.

And such a change would also be wrong, as you are supposed to access
no-stub-resolv.conf.

Maybe the directory was created by netplan?


It's not configurable, because such behavior would be a bug.


Thomas



More information about the Networkmanager mailing list