aboutsummaryrefslogtreecommitdiffstats
path: root/main/vsftpd/vsftpd.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-11-04 11:25:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-11-04 11:25:46 +0000
commit01e6a79f76e616857cb3958221e5110452f81f36 (patch)
treef827bd9c11835817e5f5e3117ac5e7a3b544e0be /main/vsftpd/vsftpd.pre-install
parent9c063da9d90602f860ca0e7fd79275f287a75baf (diff)
downloadaports-01e6a79f76e616857cb3958221e5110452f81f36.tar.bz2
aports-01e6a79f76e616857cb3958221e5110452f81f36.tar.xz
main/vsftpd: fixes #3494
Diffstat (limited to 'main/vsftpd/vsftpd.pre-install')
-rwxr-xr-xmain/vsftpd/vsftpd.pre-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/vsftpd/vsftpd.pre-install b/main/vsftpd/vsftpd.pre-install
index a96fe60b1..e60f9d82a 100755
--- a/main/vsftpd/vsftpd.pre-install
+++ b/main/vsftpd/vsftpd.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
-addgroup -S vsftp &>/dev/null
-adduser -h /var/lib/vsftpd -s /sbin/nologin -G vsftp -S vsftp &>/dev/null
+addgroup ftp &>/dev/null
+addgroup vsftp ftp &>/dev/null
+adduser -h /var/lib/ftp -s /sbin/nologin -G ftp -S vsftp &>/dev/null
exit 0