def upload_template(src, dest, *args, **kwargs): """ Wrapper around Fabric's upload_template that sets +r. upload_template does not preserve file permissions, http://code.fabfile.org/issues/show/117 """ orig_upload_template(src, dest, *args, **kwargs)
def upload_template(src, dest, *args, **kwargs): """ Wrapper around Fabric's upload_template that sets +r. upload_template does not preserve file permissions, http://code.fabfile.org/issues/show/117 """ orig_upload_template(src, dest, *args, **kwargs) sudo('chmod +r %s' % dest)
def upload_template(self, src, dest, *args, **kwargs): orig_upload_template(src, dest, *args, **kwargs) sudo('chmod +r %s' % dest)