Use $_SETATTR instead of chattr to remove the barrier.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 10:32:43 +0000 (10:32 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 12 Sep 2006 10:32:43 +0000 (10:32 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2288 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver-build.functions

index 9262ade..7baae59 100644 (file)
@@ -188,7 +188,7 @@ vserver-topdirectory '$VDIR' and/or configuration at '$SETUP_CONFDIR'
 exist already; please try to use '--force', or remove them manually."
 
     mkdir -p -m755 "$VDIR"
-    chattr -t "$VDIR"
+    $_SETATTR --~barrier "$VDIR"
     base._addGeneratedFile "$VDIR"
     
     mkdir -p -m755 "$SETUP_CONFDIR"/apps "$VDIR"/{dev/pts,etc}