From: Daniel Hokka Zakrisson Date: Mon, 11 Feb 2008 23:41:08 +0000 (+0000) Subject: Set the barrier and warn if it could not be set automatically. X-Git-Tag: release-0.30.215~31 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d51ba756dbbd229a05b6bd919fdc413ab5c57fd5;p=util-vserver.git Set the barrier and warn if it could not be set automatically. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2676 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver-build.functions b/scripts/vserver-build.functions index c89c5ad..2f22192 100644 --- a/scripts/vserver-build.functions +++ b/scripts/vserver-build.functions @@ -203,6 +203,9 @@ exist already; please try to use '--force', or remove them manually." mkdir -p -m755 "$VDIR" $_SETATTR --~barrier "$VDIR" + $_SETATTR --barrier "$VDIR"/.. || colwarn $"\ +WARNING: could not set the barrier attribute on '$VDIR/..', + please set it manually." base._addGeneratedFile "$VDIR" mkdir -p -m755 "$SETUP_CONFDIR"/apps "$VDIR"/etc