Fix permissions parsing error?

Change-Id: I65076b159394a21f4fef5cede776a364b107758d