From: Tobias Brunner Date: Mon, 15 Apr 2019 11:23:05 +0000 (+0200) Subject: testing: Create new files in mounted strongSwan sources as regular user X-Git-Tag: 5.8.0rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfac7305ab295401f2d244f76399322ea9fa2c0d;p=thirdparty%2Fstrongswan.git testing: Create new files in mounted strongSwan sources as regular user --- diff --git a/testing/scripts/build-strongswan b/testing/scripts/build-strongswan index 24e11bba20..2214a57d14 100755 --- a/testing/scripts/build-strongswan +++ b/testing/scripts/build-strongswan @@ -56,7 +56,7 @@ do_on_exit umount $LOOPDIR/root/shared mkdir -p $LOOPDIR/root/strongswan log_action "Mounting $SWANDIR as /root/strongswan" -execute "bindfs -u $SRCUID -g $SRCGID $SWANDIR $LOOPDIR/root/strongswan" +execute "bindfs -u $SRCUID -g $SRCGID --create-for-user=$SRCUID --create-for-group=$SRCGID $SWANDIR $LOOPDIR/root/strongswan" do_on_exit umount $LOOPDIR/root/strongswan log_action "Copy /etc/resolv.conf"