From 61ff25a71906147140168fa0b016568c8ecb134e Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Mon, 3 Aug 2020 18:51:43 +0300 Subject: [PATCH] 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... --- packages/busybox/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index cf6dd3247..0ba602559 100644 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -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() {