fixed rights, HTTPD_GROUP was not set
This commit is contained in:
parent
af0bb44d82
commit
c3540d3fbb
|
@ -89,23 +89,23 @@ install-lam:
|
||||||
|
|
||||||
do-chown:
|
do-chown:
|
||||||
@for i in $(LIST2) ; do \
|
@for i in $(LIST2) ; do \
|
||||||
$(CHOWN) $(HTTPD_USER) $(DESTDIR)$(localstatedir)/$${i} ; \
|
$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i} ; \
|
||||||
done ; \
|
done ; \
|
||||||
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
|
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
|
||||||
for i in $${LIST4} ; do \
|
for i in $${LIST4} ; do \
|
||||||
$(CHOWN) -R $(HTTPD_USER) $(DESTDIR)$(sysconfdir)/$${i} ; \
|
$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i} ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
echo-chown:
|
echo-chown:
|
||||||
@$(RM) -f $(RAR) ; \
|
@$(RM) -f $(RAR) ; \
|
||||||
for i in $(LIST2) ; do \
|
for i in $(LIST2) ; do \
|
||||||
echo "$(CHOWN) $(HTTPD_USER) $(DESTDIR)$(localstatedir)/$${i}" \
|
echo "$(CHOWN) $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(localstatedir)/$${i}" \
|
||||||
>> $(RAR) ; \
|
>> $(RAR) ; \
|
||||||
done ; \
|
done ; \
|
||||||
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
|
LIST4="`(cd $(srcdir)/$(LIST3) ; ls -d * | $(GREP) -v sample)`" ; \
|
||||||
for i in $${LIST4} ; do \
|
for i in $${LIST4} ; do \
|
||||||
echo "$(CHOWN) -R $(HTTPD_USER) $(DESTDIR)$(sysconfdir)/$${i}" \
|
echo "$(CHOWN) -R $(HTTPD_USER):$(HTTPD_GROUP) $(DESTDIR)$(sysconfdir)/$${i}" \
|
||||||
>> $(RAR) ; \
|
>> $(RAR) ; \
|
||||||
done ; \
|
done ; \
|
||||||
echo "Switch user to root and run $(RAR)"
|
echo "Switch user to root and run $(RAR)"
|
||||||
|
|
Loading…
Reference in New Issue