GPG unsafe homedir
This template is ONLY used for reporting bugs. New feature request or pipeline enhancement issues should use the other template options for issue submission.
Current Behavior
Executing "step_script" stage of the job script
00:09
$ "${PIPELINE_REPO_DIR}/stages/documentation/sign-image-run.sh"
Getting image source signatures
Copying blob sha256:a62d0fafab642dc5b73f5ac7b233a6854fa7a8fe83776817b471bd9909bd16cd
Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57
Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8
Copying config sha256:20642aad176f77bcc725cf8b078cb46822e8550cc4c48d2303073f3ffb1e02aa
Writing manifest to image destination
Storing signatures
Loaded image(s): @20642aad176f77bcc725cf8b078cb46822e8550cc4c48d2303073f3ffb1e02aa
gpg: WARNING: unsafe permissions on homedir '/builds/dsop/redhat/ubi/ubi8/./tmp_gpg'
gpg: keybox '/builds/dsop/redhat/ubi/ubi8/./tmp_gpg/pubring.kbx' created
gpg: /builds/dsop/redhat/ubi/ubi8/./tmp_gpg/trustdb.gpg: trustdb created
gpg: key FF1F7663311347E7: public key "Iron Bank (GPG key used for signing Iron Bank artifacts) <ironbank@dsop.io>" imported
gpg: key FF1F7663311347E7: secret key imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
gpg: WARNING: unsafe permissions on homedir '/builds/dsop/redhat/ubi/ubi8/./tmp_gpg'
Live Example
https://repo1.dsop.io/dsop/redhat/ubi/ubi8/-/jobs/401324
Expected Behavior
Warning messages about unsafe permissions should not be present.
Possible Solution
Properly CHMOD the parent directory so that all files get the appropriate permissions.