Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-46386

rrsync does not know rsync option --mkpath

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • CentOS Stream 9
    • rsync
    • None
    • None
    • Low
    • 35d4f6737a57c88978b6e954506e9c73f8c10ccf
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Use rsync with the `–mkpath` option on the sender side while restricting access with rrsync on the sender side.

      Please provide the package NVR for which bug is seen:

      rsync-3.2.3-19.el9

      How reproducible:

      Always

      `--mkpath` was introduced in rsync 3.2.3, but the option was only made known to rrsync in 3.2.4

      The commit that fixed rrsync is https://github.com/RsyncProject/rsync/commit/35d4f6737a57c88978b6e954506e9c73f8c10ccf and could be added as a patch to the rpm

      Steps to reproduce

      1. Restrict rsync usage on receiver side with rrsync
      2. Execute rsync on the client side with the `–mkpath` option

      Expected results

      rsync transfers files

      Actual results

      rsync fails with message "/usr/bin/rrsync: invalid rsync-command syntax or options"

              mruprich@redhat.com Michal Ruprich
              floschwalm Florian Schwalm (Inactive)
              Michal Ruprich Michal Ruprich
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: