URL:
https://github.com/freeipa/freeipa/pull/3024
Author: fcami
Title: #3024: ipaserver/install/cainstance.py: unlink before creating new file in /tmp
Action: opened
PR body:
"""
When fs.protected_regular=1 root cannot open temp files that
are owned by other users read-write.
So unlink temporary file before shutil.copy to it.
Fixes:
https://pagure.io/freeipa/issue/7907
Signed-off-by: François Cami fcami(a)redhat.com
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3024/head:pr3024
git checkout pr3024