From d51ba756dbbd229a05b6bd919fdc413ab5c57fd5 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 11 Feb 2008 23:41:08 +0000 Subject: [PATCH] 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 --- scripts/vserver-build.functions | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.8.1.5