mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Argh, this is what I get for testing, making one last "harmless cosmetic
tweak" and then committing. /me got what he deserved, an embarassing build failure.
This commit is contained in:
parent
ba6017903c
commit
81d1d8979b
2 changed files with 2 additions and 2 deletions
|
|
@ -284,7 +284,7 @@ configAnonFTP(dialogMenuItem *self)
|
|||
|
||||
if (DITEM_STATUS(createFtpUser()) == DITEM_SUCCESS) {
|
||||
msgNotify("Copying password information for anon FTP.");
|
||||
vsystem("awk -F: '{if ($3 < 10 || $1 == "ftp") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir);
|
||||
vsystem("awk -F: '{if ($3 < 10 || $1 == \"ftp\") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir);
|
||||
vsystem("awk -F: '{if ($3 < 100) print $0}' /etc/group > %s/etc/group && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir);
|
||||
vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ configAnonFTP(dialogMenuItem *self)
|
|||
|
||||
if (DITEM_STATUS(createFtpUser()) == DITEM_SUCCESS) {
|
||||
msgNotify("Copying password information for anon FTP.");
|
||||
vsystem("awk -F: '{if ($3 < 10 || $1 == "ftp") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir);
|
||||
vsystem("awk -F: '{if ($3 < 10 || $1 == \"ftp\") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir);
|
||||
vsystem("awk -F: '{if ($3 < 100) print $0}' /etc/group > %s/etc/group && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir);
|
||||
vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue