mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
package/proftpd: fix group name preventing server from starting
Replace the group name 'nogroup' with 'nobody' in the default ProFTPD configuration file. This fixes the following error when starting the server: proftpd[110]: fatal: Group: Unknown group 'nogroup' on line 30 of '/etc/proftpd.conf' Fixes:0d887cc2b4("system: replace nogroup with nobody") Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit2383768cdf) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
6eea6b524d
commit
1f6026dfa0
@@ -126,6 +126,7 @@ endif
|
||||
define PROFTPD_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd
|
||||
$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf
|
||||
$(SED) 's/^\(Group\s\+\)nogroup/\1nobody/' $(TARGET_DIR)/etc/proftpd.conf
|
||||
$(PROFTPD_INSTALL_FTPQUOTA)
|
||||
$(PROFTPD_INSTALL_FTPASSWD)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user