Skip to content

Commit

Permalink
reckless.py: manage umask ourselves
Browse files Browse the repository at this point in the history
Because we are grown ups !
  • Loading branch information
darosior committed Dec 24, 2019
1 parent b60316d commit e0cf950
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reckless.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def install(plugin, url, install_auto=None, install_dir=None):
:install_dir: The name of the directory to create in c-lightning's
default plugins directory.
"""
# `lightningd` sets umask to 0 !
os.umask(22)
# We dont support pre-v0.7.2.1 anyway
reply = {"response": "", "format-hint": "simple"}
reply["response"] += " "
Expand Down

0 comments on commit e0cf950

Please sign in to comment.