You are not logged in.

#1 2019-10-17 12:16:00

xote
Member
Registered: 2016-03-04
Posts: 1

[suggestion] permissions for systemd-networkd config files

Hi folks,

it just occured to me on my Raspberry Pi, when i want to set a new network config file (e.g. eth0.network) via Ansible, it doesn' t work if it isn't readable by non-root users - i guess like systemd-networkd. That is extremely annoying, especiallly if it is done on a headless device, where without network you don't have any contact to it anymore. By deploying a network config file having permissions like 644 it worked. Sadly this is not expressed anywhere in the ArchLinux Wiki.

https://wiki.archlinux.org/index.php/Systemd-networkd

Bye.
X.

Offline

#2 2019-10-17 13:20:03

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 529
Website

Re: [suggestion] permissions for systemd-networkd config files

1) You're not running Arch Linux, but Arch Linux ARM. Though this behaviour is also present on Arch Linux.
2) You did not suggest anything. You just described a fact.

If you feel the need to caution users to correctly set permissions and ownership of the respective config files, feel free to update the respective Wiki article accordingly.

Offline

Board footer

Powered by FluxBB