summaryrefslogtreecommitdiff
path: root/src/conf_mode/tftp_server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-08-26 16:56:37 +0200
committerChristian Poessinger <christian@poessinger.com>2018-08-26 16:56:37 +0200
commit23022977a6bf94e6be7d37de04c97ab0b5d1ea35 (patch)
tree1b6bc6de36f890f37ff6ea0bf3f0832fab8cc538 /src/conf_mode/tftp_server.py
parent5150b2890ec6a38dbeae2e105fce6855ce0f589e (diff)
downloadvyos-1x-23022977a6bf94e6be7d37de04c97ab0b5d1ea35.tar.gz
vyos-1x-23022977a6bf94e6be7d37de04c97ab0b5d1ea35.zip
tftp_server.py: fix copy-paste comment
Diffstat (limited to 'src/conf_mode/tftp_server.py')
-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 8665f2964..9cf4489af 100755
--- a/src/conf_mode/tftp_server.py
+++ b/src/conf_mode/tftp_server.py
@@ -139,7 +139,7 @@ def apply(tftpd):
if not os.path.exists(tftp_root):
os.makedirs(tftp_root)
os.chmod(tftp_root, stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR|stat.S_IRGRP|stat.S_IXGRP|stat.S_IROTH|stat.S_IXOTH)
- # get uid for user 'snmp'
+ # get UNIX uid for user 'tftp'
tftp_uid = pwd.getpwnam('tftp').pw_uid
os.chown(tftp_root, tftp_uid, -1)