mirror of
https://github.com/junkfix/config-editor.git
synced 2026-02-22 18:26:40 +01:00
Fille permission fix
This commit is contained in:
parent
73d2055a20
commit
d9185fabf4
|
|
@ -75,7 +75,7 @@ async def websocket_create(hass, connection, msg):
|
|||
os.makedirs(dirnm, exist_ok=True)
|
||||
with AtomicWriter(fullpath, overwrite=True).open() as fdesc:
|
||||
try:
|
||||
os.fchmod(fdesc.fileno(), 0o644)
|
||||
os.fchmod(fdesc.fileno(), 0o666)
|
||||
except:
|
||||
pass
|
||||
fdesc.write(content)
|
||||
|
|
|
|||
Loading…
Reference in a new issue