search for: rsync_selinux

Displaying 2 results from an estimated 2 matches for "rsync_selinux".

2013 Jan 07
2
rsync and selinux
I'm trying to use rysnc to back up some directories on a CentOS6 machine that uses selinux in enforcing mode. Most files didn't transfer, so I tried the example from rsync_selinux(8): Allow rsync servers to read the /var/rsync directory by adding the pub- lic_content_t file type to the directory and by restoring the file type. semanage fcontext -a -t public_content_t "/var/rsync(/.*)?" restorecon -F -R -v /var/rsync excep...
2017 Jan 04
1
selinux & rsyncd: Allowing global read for backup
I want to set up rsyncd to expose the whole drive read-only to BackupPC running on another machine. So I need to set selinux to allow this. According to the Fedora wiki I can do so like this: setsebool -P rsync_disable_trans 1 <https://fedoraproject.org/wiki/SELinux/rsync> But when I run the command on CentOS 7.3 it tells me that this bool is not defined. So what do I do now?