Project

Profile

Help

Story #2691

closed

As a user, I can verify if content exists on a disk during publish

Added by jluza about 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

In the case when something bad happened and files in /var/lib/pulp/content got lost, pulp publishes
repo with links pointing to non-existing files.

source server/pulp/plugins/util/misc.py
function create_symlink

if symlink exists and it's parent directory exists, function returns here:

https://github.com/pulp/pulp/blob/master/server/pulp/plugins/util/misc.py#L107

with no validation of source.

Also available in: Atom PDF