From 213b65931ce01941e85c616c6fb24171528f775d Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Thu, 6 Oct 2016 22:09:53 +0100 Subject: [PATCH] init: make sure /storage permissions are correct --- packages/sysutils/busybox/config/busybox-init.conf | 2 +- packages/sysutils/busybox/scripts/init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/config/busybox-init.conf b/packages/sysutils/busybox/config/busybox-init.conf index be4c136918..8ff7743be3 100644 --- a/packages/sysutils/busybox/config/busybox-init.conf +++ b/packages/sysutils/busybox/config/busybox-init.conf @@ -217,7 +217,7 @@ CONFIG_FEATURE_TR_EQUIV=y # CONFIG_CAL is not set # CONFIG_CATV is not set # CONFIG_CHGRP is not set -# CONFIG_CHMOD is not set +CONFIG_CHMOD=y CONFIG_CHOWN=y # CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set CONFIG_CHROOT=y diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 49f3ae7b35..04067a48d9 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -990,6 +990,7 @@ # Just in case... problems with ssh if not correctly owned chown 0:0 /storage 2>/dev/null + chmod 755 /storage 2>/dev/null mount --move /flash /sysroot/flash mount --move /storage /sysroot/storage