python replace-with-current-user.py # the py file only manipulates the shell scripts that must run as root but use regular user's minetest
python "$CHUNKYMAP_DEST/replace-with-current-user.py"# the py file only manipulates the shell scripts that must run as root but use regular user's minetest
# so chmod those files AFTER running the py above (since it rewrites them and therefore removes x attribute if present):