Setup a Remotely Accessible rsync Server: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:


<syntaxhighlight lang='text'>
<syntaxhighlight lang='text'>
 
[...] rsync: recv_generator: mkdir "/timesnap" (in rackstationb) failed: Permission denied (13):
</syntaxhighlight>
</syntaxhighlight>



Revision as of 05:16, 27 December 2018

Internal

Overview

Procedure

SELinux Configuration

rsync may interact with SELinux and fail operations that otherwise would succeed. A typical symptom is not to be able to create a directory:

[...] rsync: recv_generator: mkdir "/timesnap" (in rackstationb) failed: Permission denied (13):

The solution is to:

setsebool -P rsync_full_access=on

The change survives reboot. For more details, see:

Changing SELinux Policy Booleans at Runtime