diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-10-20 15:20:41 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-10-20 15:20:41 +0000 |
commit | 88460d1f3a4d4a70ecc1d867df51a09b0ca81043 (patch) | |
tree | 2b042940438d7353fd213eb31d9d17896a00b6fc | |
parent | 71505bf896d40b3d4dcb134cbbee51fd7f1e32b9 (diff) |
cpio creates missing directories 0700 - we need 0755
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index bb5785c..c300d94 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -215,7 +215,7 @@ update) | |||
215 | make distribution DESTDIR=${ezjail_jailfull} | 215 | make distribution DESTDIR=${ezjail_jailfull} |
216 | 216 | ||
217 | cd ${ezjail_jailfull} | 217 | cd ${ezjail_jailfull} |
218 | mkdir -p ${ezjail_jailbase} | 218 | mkdir -p ${ezjail_jailbase}/usr |
219 | for a in bin sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do | 219 | for a in bin sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do |
220 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; | 220 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; |
221 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} | 221 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} |