*8787* Fix permissions after build scripts