Fix permission problem with 'firstrun'