Project

Profile

Help

Issue #3338

closed

rsync distributor syncs symlinks to wrong directory if repo_relative_path starts with /

Added by jluza over 6 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Due behavior of
os.path.join("/root/", "/foo/")

pulp/plugins/rsync/publish.py::RSyncPublishStep::make_destination

produces wrong destination directory which cause symlinks + extra content are synced to
<host>:/<relative_path> instead of <host>:<remote_root>/<relative_path>

Also available in: Atom PDF