Change entrypoint to fix permissions of paths.