Actions
Issue #1289
closedinstall distributor does not normalize file permissions and ownership
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).
Actions
Install distributor now normalizes uid, gid, and filesystem permissions.
Also resurrected a bunch of unit tests for the install distributor that had been removed during the mongoengine conversion.
fixes #1289