Make permisisons recursive

Change-Id: I020de1ddc3410b7781b504a5489d1a12023c1a95