diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-04 22:12:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-04 22:12:39 +0000 |
commit | bbaf2117e0856de79ac25e5fc57b71770e9d0b0c (patch) | |
tree | ac8c67656fccf70ddfe3f46cba9957034cd2f32c | |
parent | dfd0159edb568ed6c0c9f2503e48c148ad6829d1 (diff) |
the pkg.conf file should be mode 644, in case the user used a ftp
user:password (unlikely.. but)
-rw-r--r-- | distrib/miniroot/install.sub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 45a3b2133c1..a8b7981b161 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.610 2010/06/30 23:02:38 phessler Exp $ +# $OpenBSD: install.sub,v 1.611 2010/07/04 22:12:38 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -1837,6 +1837,7 @@ finish_up() { grep -v '^[ ]*installpath[ ]*=' /mnt/etc/pkg.conf 2>&- > /tmp/pkgconf print -r -- "installpath = $package_path" >> /tmp/pkgconf cp /tmp/pkgconf /mnt/etc/pkg.conf + chmod 0644 /mnt/etc/pkg.conf fi echo -n "Making all device nodes..." |