freeipa/ipaserver
François Cami d68fe6b981 ipaserver/install/cainstance.py: unlink before creating new file in /tmp
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@redhat.com
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-04-11 13:56:15 +02:00
..
advise Add install/remove package helpers to advise 2018-12-11 13:46:52 +01:00
dnssec Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
install ipaserver/install/cainstance.py: unlink before creating new file in /tmp 2019-04-11 13:56:15 +02:00
plugins Adapt cert-find performance workaround for users 2019-04-09 09:13:27 +02:00
secrets Py3: Replace six.moves imports 2018-10-05 12:06:19 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc_common.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
dcerpc.py Use new LDAPClient constructors 2019-02-05 08:39:13 -05:00
dns_data_management.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
masters.py Add hidden replica feature 2019-03-28 17:57:58 +01:00
p11helper.py pylint 2.2: Fix unnecessary pass statement 2018-11-26 16:54:43 +01:00
rpcserver.py Py3: Replace six.moves imports 2018-10-05 12:06:19 +02:00
servroles.py Improve config-show to show hidden servers 2019-03-28 17:57:58 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Disable dependency on dogtag-pki PyPI package 2019-02-12 11:14:06 +01:00
topology.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00