Skip to content

Commit 39da84a

Browse files
committed
Ensure config permissions.
1 parent 5a2f15a commit 39da84a

File tree

1 file changed

+1
-0
lines changed
  • usr/lib/python3/dist-packages/linuxmusterApi

1 file changed

+1
-0
lines changed

usr/lib/python3/dist-packages/linuxmusterApi/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
config = {}
1717
config_path = '/etc/linuxmuster/api/config.yml'
1818
if os.path.isfile(config_path):
19+
os.chmod(config_path, 384)
1920
with open(config_path, 'r') as config_file:
2021
config = yaml.load(config_file, Loader=yaml.SafeLoader)
2122

0 commit comments

Comments
 (0)