1 # SPDX-License-Identifier: LGPL-2.1-or-later
4 executable_template + {
5 'name' : 'systemd-creds',
7 'sources' : files('creds.c'),
15 # Protecting files from the distro in /usr doesn't make sense since they can be trivially accessed otherwise,
16 # so don't restrict the access mode in /usr. That doesn't apply to /etc, so we do restrict the access mode
18 install_emptydir(credstoredir)
20 # Keep in sync with tmpfiles.d/credstore.conf
21 install_emptydir(sysconfdir / 'credstore',
22 install_mode : 'rwx------')
23 install_emptydir(sysconfdir / 'credstore.encrypted',
24 install_mode : 'rwx------')
27 install_data('io.systemd.credentials.policy',
28 install_dir : polkitpolicydir)