27 lines
775 B
Diff
27 lines
775 B
Diff
From 804b1d2ae37de293c2859d37d1c2cc9885e9d09e 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 7acdc84..2f7b261 100644
|
|
--- a/SPECS/lighttpd.spec
|
|
+++ b/SPECS/lighttpd.spec
|
|
@@ -281,7 +281,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
|
|
--
|
|
2.7.4
|
|
|