rsync command failed with "Permission denied" when invoked by another application
Issue
-
When
rsync
is started by another SELinux confined process, it fails with the following error:rsync: Failed to exec ssh: Permission denied (13)
-
In some cases, the following error is displayed:
rsync: readlink_stat("/some_file" (in some_path)) failed: Permission denied (13)
Environment
- Red Hat Enterprise Linux (RHEL)
- 6
- 7
- 8
- SELinux enabled
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.