fixed rights, HTTPD_GROUP was not set

This commit is contained in:
Roland Gruber 2010-02-13 17:34:17 +00:00
parent af0bb44d82
commit c3540d3fbb
1 changed files with 4 additions and 4 deletions

View File

@ -89,23 +89,23 @@ install-lam:
do-chown:
@for i in $(LIST2) ; do \
$(CHOWN) $(HTTPD_USER) $(DESTDIR)$(localstatedir)/$${i} ; \
$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i} ; \
done ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
for i in $${LIST4} ; do \
$(CHOWN) -R $(HTTPD_USER) $(DESTDIR)$(sysconfdir)/$${i} ; \
$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i} ; \
done
echo-chown:
@$(RM) -f $(RAR) ; \
for i in $(LIST2) ; do \
echo "$(CHOWN) $(HTTPD_USER) $(DESTDIR)$(localstatedir)/$${i}" \
echo "$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i}" \
>> $(RAR) ; \
done ; \
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
for i in $${LIST4} ; do \
echo "$(CHOWN) -R $(HTTPD_USER) $(DESTDIR)$(sysconfdir)/$${i}" \
echo "$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i}" \
>> $(RAR) ; \
done ; \
echo "Switch user to root and run $(RAR)"