[CentOS] rsync and selinux
lhecking at users.sourceforge.net
lhecking at users.sourceforge.net
Mon Jan 7 14:47:05 UTC 2013
> I use rsync extensively to transfer entire systems from and to SElinux
> enforcing environments and have never had a problem with reads using
> rsync when logged on as the root user. My typical command line is
> some variation of the following:
>
> /usr/bin/rsync -avX --delete-after --specials --times \
> --exclude-from=/root/rsync.d/exclude.list \
> 192.168.216.29:/* /.
(-a includes --times :)
> Are you connecting as the root user?
I'm connecting in daemon mode since I'm using pre-defined modules. Any other
solution requires either a password or setting up passwordless ssh, which
I'm not inclined to do in this case. The purpose here is automation.
More information about the CentOS
mailing list