Search

Chapter 22. rsync

download PDF
The rsync utility performs fast file transfer and it is used for synchronizing data between systems. [20]
When using Red Hat Enterprise Linux, the rsync package provides rsync. Enter the following command to see if the rsync package is installed:
~]$ rpm -q rsync
package rsync is not installed
If it is not installed, use the yum utility as root to install it:
~]# yum install rsync

22.1. rsync and SELinux

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 with the public_content_t type. Like most services, correct labeling is required for SELinux to perform its protection mechanisms over rsync.[21]


[20] See the Rsync project page for more information.
[21] See the rsync_selinux(8) manual page for more information about rsync and SELinux.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.