integ/base/lighttpd/centos/meta_patches/0001-Adding-tmp-dir-under-l...

27 lines
777 B
Diff

From bfca4119209067c0af4abf88b62d54767fcfd7ab Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 20 Mar 2017 10:21:28 -0400
Subject: [PATCH 2/4] WRS:
0001-Adding-tmp-dir-under-lighttpd-chroot-environ.patch
---
SPECS/lighttpd.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/lighttpd.spec b/SPECS/lighttpd.spec
index a313a1b..71737ac 100644
--- a/SPECS/lighttpd.spec
+++ b/SPECS/lighttpd.spec
@@ -267,7 +267,7 @@ echo 'D /var/run/lighttpd 0750 lighttpd lighttpd -' > \
# WRS
CONFDIR=%{buildroot}%{_sysconfdir}/lighttpd
ROOTDIR=%{buildroot}/www
-
+install -d -m 1777 ${ROOTDIR}/tmp
install -d ${CONFDIR}/ssl
install -d ${ROOTDIR}/pages/dav
install -m 0640 %{SOURCE103} ${CONFDIR}/lighttpd.conf
--
1.8.3.1