busybox: enable write access by default for ftpd service

Don't care about ^security^ - it absent here by design.
Instead, make it easier to use Busybox ftpd service for those who
really need it...
This commit is contained in:
Leonid Pliushch 2020-08-03 18:51:43 +03:00
parent 8c65964325
commit 61ff25a719
1 changed files with 2 additions and 1 deletions

View File

@ -2,13 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://busybox.net/
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.32.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=c35d87f1d04b2b153d33c275c2632e40d388a88f19a9e71727e0bbbff51fe689
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_SERVICE_SCRIPT=(
"telnetd" 'exec busybox telnetd -F'
"ftpd" 'exec busybox tcpsvd -vE 0.0.0.0 8021 busybox ftpd $HOME'
"ftpd" 'exec busybox tcpsvd -vE 0.0.0.0 8021 busybox ftpd -w $HOME'
)
termux_step_pre_configure() {