diff options
| author | riastradh <riastradh@NetBSD.org> | 2022-08-30 13:40:37 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2022-08-30 13:40:37 +0000 |
| commit | 845fd2f49be7f04d0b7a4fe80d500a375364bd3d (patch) | |
| tree | 0cb86d3db55e4951064e038e1210514b419de82b /etc | |
| parent | 52a95819ab1fe3e2d27063dfa3feb0152294828f (diff) | |
etc: Fix permissions of various editable configuration files.
This way they match the mtree and make sense and don't cause editors
to ask to override read-only files when editing them.
Exception: Not sure /etc/bluetooth/protocols makes as much sense to
edit, but the mtree says 644, so if you want to change it, make sure
to change it in both places -- Makefile and mtree.
XXX pullup-8
XXX pullup-9
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/bluetooth/Makefile | 3 | ||||
| -rw-r--r-- | etc/iscsi/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/etc/bluetooth/Makefile b/etc/bluetooth/Makefile index d84b5f495af..50732dc6bd5 100644 --- a/etc/bluetooth/Makefile +++ b/etc/bluetooth/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2008/04/15 11:17:47 plunky Exp $ +# $NetBSD: Makefile,v 1.6 2022/08/30 13:40:37 riastradh Exp $ CONFIGFILES= btattach.conf btdevctl.conf hosts protocols FILESDIR= /etc/bluetooth +FILESMODE= 644 .include <bsd.prog.mk> diff --git a/etc/iscsi/Makefile b/etc/iscsi/Makefile index c130a7cf7c4..1974bb13b8d 100644 --- a/etc/iscsi/Makefile +++ b/etc/iscsi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2006/06/24 05:14:01 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2022/08/30 13:40:37 riastradh Exp $ .include <bsd.own.mk> @@ -7,6 +7,7 @@ CONFIGFILES= auths targets FILESDIR= /etc/iscsi FILESMODE_auths= 0600 +FILESMODE_targets= 0644 .endif |
