Issue #2211473 by ram4nd: Fix file permissions.

Change-Id: I0c136ff1bace89469b0163eb244ecd1f1c390430