fix scripts permissions

Change-Id: Ic4a1ca9ce881981ecde367f5bd95e36d28e31ca6
Merge "fix scripts permissions" into jellybean-3.4