Project

Profile

Help

Issue #1289

closed

install distributor does not normalize file permissions and ownership

Added by mhrivnak about 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6.3
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When the install distributor extracts puppet modules from their tarballs, it does not make any attempt to normalize the file permissions of the files contained in the tarball. This can lead to at least three types of problems:

1. A file cannot be read by puppet.
2. Extracted files cannot be moved by pulp from the temporary extraction area to the permanent destination.
3. A file may have unsafe permissions, such as being world-writable.

Pulp should choose a standard way to normalize these permissions, perhaps ensuring that at a minimum the owner can rwx, and the world can r (and x for directories).

Also available in: Atom PDF