Description of problem:
Some of my puppet modules were created on a system with a umask of 0077 so all of the files have perms of 0700/0600. When pulp preserves the permissions from the tarfile, these are only readable by the apache user. This prevents the foreman and puppet users from being able to read the files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create puppet module from directory that has no group or world permissions.
2. Add module to your puppet repository in katello.
3. Publish module to content view.
4. Look at the permissions of the module and see that the directory is only readable by apache.
The foreman and puppet user need to be able to read these files. If they are group and user owned by apache, these files need to be world readable as puppet/foreman are not in the apache group, but if they are group owned by puppet, they only need to be group readable.
We need a little more information about the steps to reproduce. Can you specify which specific puppet publisher did you use in step 3? Also which exact directory in step 4?
I'm not sure what you mean by puppet publisher. I'm using the katello-2.0-devel to pubish the puppet modules.
The directory is /etc/puppet/environments/KT_ORG_Library_Baseline_2/modules.
Moved to https://pulp.plan.io/issues/488