fix permission problems

Change-Id: I42c23976570261aae76555959e9b4e3834cc11a3