From 23022977a6bf94e6be7d37de04c97ab0b5d1ea35 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 26 Aug 2018 16:56:37 +0200 Subject: tftp_server.py: fix copy-paste comment --- src/conf_mode/tftp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') 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) -- cgit v1.2.3