summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2002-02-04 19:23:43 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2002-02-04 19:23:43 +0000
commitc2429c497266c4f8c5ec071118e956758aa4af13 (patch)
tree27eca0badfcdd1d8d0284d534696abb4195a9eba /usr.sbin/pkg_install
parentb3ea8abeca50df2e24167770d1e7484f1f877a7d (diff)
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/pen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/pen.c b/usr.sbin/pkg_install/lib/pen.c
index 58770ac47532..62465bf3f902 100644
--- a/usr.sbin/pkg_install/lib/pen.c
+++ b/usr.sbin/pkg_install/lib/pen.c
@@ -106,7 +106,7 @@ make_playpen(char *pen, size_t sz)
cleanup(0);
errx(2, __FUNCTION__ ": can't mktemp '%s'", pen);
}
- if (chmod(pen, 0700) == FAIL) {
+ if (chmod(pen, 0755) == FAIL) {
cleanup(0);
errx(2, __FUNCTION__ ": can't mkdir '%s'", pen);
}