Skip to content

Commit

Permalink
Set the right owner to sudoers file
Browse files Browse the repository at this point in the history
  • Loading branch information
mandre committed May 29, 2019
1 parent 7e5cf05 commit 6204c1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pull_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def copy_sudoers_file():
(os.path.join("/tmp", "sudoers.conf"),
os.path.join("/etc", "sudoers.d", "kano-i18n-sync_conf"))
)
ssh.exec_command("sudo python -c 'import os; os.chown(\"%s\", 0, 0)'" %
os.path.join("/etc", "sudoers.d", "kano-i18n-sync_conf"))


# This assumes there is a kano host in your ~/.ssh/config with public key
Expand Down

0 comments on commit 6204c1f

Please sign in to comment.