scripts: fixup permissions