fix permissions
add .gitignore

Change-Id: I130b4b1859fb9e893bce0ad176bdad47f1181828