From 2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 26 Aug 2018 20:02:16 +0200 Subject: tftp_server.py: change umask for created files --- src/conf_mode/tftp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/tftp_server.py b/src/conf_mode/tftp_server.py index 9cf4489af..2b4732190 100755 --- a/src/conf_mode/tftp_server.py +++ b/src/conf_mode/tftp_server.py @@ -46,7 +46,7 @@ TFTP_ADDRESS="{% for a in listen_ipv4 -%}{{ a }}:{{ port }}{{- " --address " if TFTP_ADDRESS="{% for a in listen_ipv6 -%}[{{ a }}]:{{ port }}{{- " --address " if not loop.last -}}{% endfor %} -6" {%- endif %} -TFTP_OPTIONS="--secure {% if allow_upload %}--create --umask 002{% endif %}" +TFTP_OPTIONS="--secure {% if allow_upload %}--create --umask 000{% endif %}" """ default_config_data = { -- cgit v1.2.3