diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-17 01:51:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-17 01:51:45 +0000 |
commit | d8db9b08cd7092a1f57bb7841be7cebdbf5c427d (patch) | |
tree | 51d0292939c32df5f22cf0a964841da8bf0611a9 | |
parent | 8a0b99b37caf5922670c5224843551f64527ccca (diff) |
force mode for hostname.* files to 600; ok krw
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index a1717182076..41f8771c5f6 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.429 2008/03/15 05:28:31 jsing Exp $ +# $OpenBSD: install.sub,v 1.430 2008/04/17 01:51:44 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -567,7 +567,7 @@ __EOT v4_config "$_ifs" "$_media" "$_name" "$_hn" v6_config "$_ifs" "$_media" "$_name" "$_hn" - [[ -f $_hn ]] && _IFDEVS=$(rmel "$_ifs" $_IFDEVS) + [[ -f $_hn ]] && chmod 600 $_hn && _IFDEVS=$(rmel "$_ifs" $_IFDEVS) done } |