Fix accounting of permission gids.

bug:20143490

Change-Id: I718d4db74ebf003616241710a67774b2e2e5384f
2 files changed