]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Create new files in mounted strongSwan sources as regular user
authorTobias Brunner <tobias@strongswan.org>
Mon, 15 Apr 2019 11:23:05 +0000 (13:23 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 15 Apr 2019 12:01:02 +0000 (14:01 +0200)
testing/scripts/build-strongswan

index 24e11bba20746bf7ebaf8263a5efecef4b6aad6a..2214a57d1491a53415f3be9fa59562ec0e940759 100755 (executable)
@@ -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"