diff options
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-hostsd | 2 | ||||
-rwxr-xr-x | src/services/vyos-http-api-server | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd index 59dbeda17..4c4bb036e 100755 --- a/src/services/vyos-hostsd +++ b/src/services/vyos-hostsd @@ -589,7 +589,7 @@ if __name__ == '__main__': socket = context.socket(zmq.REP) # Set the right permissions on the socket, then change it back - o_mask = os.umask(0o007) + o_mask = os.umask(0o000) socket.bind(SOCKET_PATH) os.umask(o_mask) diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index d5730d86c..703628558 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -261,7 +261,7 @@ def config_file_op(command): path = command['file'] except KeyError: return error(400, "Missing required field \"file\"") - res = session.load_config(path) + res = session.migrate_and_load_config(path) res = session.commit() else: return error(400, "\"{0}\" is not a valid operation".format(op)) |