diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-08-26 20:02:16 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-08-26 20:02:16 +0200 |
commit | 2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb (patch) | |
tree | 3db858e5463430cec8dad8c6e6196995d1c4f6d3 /src/conf_mode/tftp_server.py | |
parent | 5545782bd2ffb4f715699c4a2a343462e916faca (diff) | |
download | vyos-1x-2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb.tar.gz vyos-1x-2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb.zip |
tftp_server.py: change umask for created files
Diffstat (limited to 'src/conf_mode/tftp_server.py')
-rwxr-xr-x | src/conf_mode/tftp_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |