Fix permission to read external memory