change drush rsync for use with aegir I'm looking to drop the -a flag from the drush's rsync, but not sure what the best place for it as far Aegir is concerned. Would it be the sitename.alias.drushrc.php files in /var/aegir/.drush? Or should this change be configured in /var/aegir/drush/commands/core/rsync.core.inc ? Ideally, it would get set in once place and be effective for  all sites, and without impact to other functionality. 

The reason I am looking to drop -a flag is to not preserve file ownership when the files are pushed out to clustered web servers -- we keep running to weird file permission issues, when files have different ownership on the Aegir server than the target web servers. 

Thanks!
I put this in my drushrc.php file to change the default rsync mode to -rlptz for all sites:

$command_specific['rsync'] = array('mode' =&gt; 'rlptz');


You could also put it in each site alias if you did not want the change to be affected on a global basis:

$aliases['mysite'] = array(
  'root' =&gt; '/path/to/drupal',
  'uri' =&gt; 'mysite.org',
  'command-specific' =&gt; array(
    'rsync' =&gt; array(
      'mode' =&gt; 'rlptvz',
    ),
    'sql-sync' =&gt; array(
      'mode' =&gt; 'rlptvz',
    ),
  ),
);