Thursday, December 5, 2013

Configuring SELinux to work with rsync in Centos 6

I found that after doing the normal configuration of rsync in Centos 6 you need to add a couple lines of SELinux

sudo setsebool -P allow_rsync_anon_write=1
chcon -t public_content_rw_t /data/

Found here.

Also on the source machine we need the following

sudo setsebool -P rsync_export_all_ro 1
sudo setsebool -P rsync_client 1

No comments:

Post a Comment