Questo contenuto non è disponibile nella lingua selezionata.
Chapter 22. rsync
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
~]$ 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
~]# yum install rsync
22.1. rsync and SELinux Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
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]