tChange owner so that web server can only read the directory - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 55e15fdb25dde786e532742f8bcaa2b83abf6d08
(DIR) parent 0b188a928b1ba1c5f9070013ba2cdac2a0fa6db5
(HTM) Author: z3bra <willy@mailoo.org>
Date: Fri, 30 May 2014 11:11:14 +0200
Change owner so that web server can only read the directory
Diffstat:
M Makefile | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -7,9 +7,11 @@ all: $(PAGES) $(FEEDS) $(EXTRA)
package: all
tar -cvzf $(NAME).tar.gz $(PAGES) $(EXTRA) $(FEEDS)
+
install: package
mkdir -p $(PREFIX)
tar -xzf $(NAME).tar.gz -C $(PREFIX)
+ chown -R $(USER):http $(PREFIX)
check: $(PAGES)
@check.sh