summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-24 09:11:00 +0000
committerJohn Crispin <john@openwrt.org>2015-07-24 09:11:00 +0000
commitcf4a0d430b849f63d51d324c47411c77e62eb3d6 (patch)
tree50c16040ee314968a54030231c0dbcae3df687b4 /package/base-files/files/etc
parent29b65e853f9970980b32d505ab13dfd2627182bc (diff)
downloadmtk-20170518-cf4a0d430b849f63d51d324c47411c77e62eb3d6.zip
mtk-20170518-cf4a0d430b849f63d51d324c47411c77e62eb3d6.tar.gz
mtk-20170518-cf4a0d430b849f63d51d324c47411c77e62eb3d6.tar.bz2
base-files: fix /tmp/.jail permissions
We need a+x rights on the path to the root of the jails so we can use users other than root (like nobody) This partly fixes jailed dnsmasq Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 46466
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 6950130..a53be74 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -29,7 +29,6 @@ boot() {
mkdir -p /tmp/.uci
chmod 0700 /tmp/.uci
mkdir -p /tmp/.jail
- chmod 0700 /tmp/.jail
touch /var/log/wtmp
touch /var/log/lastlog
touch /tmp/resolv.conf.auto