pick file permissions based on the target
Merge pull request #1 from gavin-scott/permissions

pick file permissions based on the target