Properly set the umask for repo files

This commit is contained in:
AJ Jordan 2018-12-09 02:03:17 -05:00
parent 0af2769aca
commit 05658f0850
No known key found for this signature in database
GPG Key ID: A4FDB7BE12F63EC3
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import iniparse
import os
import sys
os.umask(0o022)
base = dnf.Base()
base.read_all_repos()

View File

@ -7,6 +7,8 @@ import iniparse
import os
import sys
os.umask(0o022)
base = dnf.Base()
base.read_all_repos()