Skip to content

Commit

Permalink
Properly set the umask for repo files
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Apr 8, 2019
1 parent 0af2769 commit 05658f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubes-rpc/qubes.repos.Disable
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import iniparse
import os
import sys

os.umask(0o022)

base = dnf.Base()

base.read_all_repos()
Expand Down
2 changes: 2 additions & 0 deletions qubes-rpc/qubes.repos.Enable
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import iniparse
import os
import sys

os.umask(0o022)

base = dnf.Base()

base.read_all_repos()
Expand Down

0 comments on commit 05658f0

Please sign in to comment.