Alter chmod permissions when using --chmod-perms