Product SiteDocumentation Site

Chapter 12. rsync

12.1. rsync and SELinux
12.2. Types
12.3. Booleans
12.4. Configuration Examples
12.4.1. Rsync as a daemon
From the Rsync project page:
"rsync is an open source utility that provides fast incremental file transfer."
When using Red Hat Enterprise Linux, the rsync package provides rsync. Run rpm -q rsync to see if the rsync package is installed. If it is not installed, run the following command as the root user to install it:
yum install rsync

12.1. rsync and SELinux

From the Red Hat Enterprise Linux 6 SELinux rsync_selinux(8) man page: "SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If you want to share files using the rsync daemon, you must label the files and directories public_content_t."
Like most services, correct labeling is required for SELinux to perform its protection mechanisms over rsync.