summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-08-26 20:02:16 +0200
committerChristian Poessinger <christian@poessinger.com>2018-08-26 20:02:16 +0200
commit2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb (patch)
tree3db858e5463430cec8dad8c6e6196995d1c4f6d3 /src
parent5545782bd2ffb4f715699c4a2a343462e916faca (diff)
downloadvyos-1x-2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb.tar.gz
vyos-1x-2cb8903cc7c1f2ea4c296e2498ce1a6ed7ccd5bb.zip
tftp_server.py: change umask for created files
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/tftp_server.py2
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 = {