diff options
| author | Sam Varshavchik | 2019-12-06 07:20:15 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2019-12-06 07:20:15 -0500 |
| commit | eaa4c8f12c295b03d5034fc3d4ec1e45c86984af (patch) | |
| tree | 4c989edfcb9e4197117f2b0c42fdc1a37335f736 /sqwebmail | |
| parent | f59f406f3c6479363256a0e4edd37f60afaea002 (diff) | |
| download | courier-libs-eaa4c8f12c295b03d5034fc3d4ec1e45c86984af.tar.bz2 | |
Explicitly chmod installed directories.
make install results in identical permissions with umask 022 or 002.
Diffstat (limited to 'sqwebmail')
| -rw-r--r-- | sqwebmail/Makefile.am | 4 | ||||
| -rw-r--r-- | sqwebmail/html/en-us/Makefile.am | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sqwebmail/Makefile.am b/sqwebmail/Makefile.am index 20dc31b..7daba38 100644 --- a/sqwebmail/Makefile.am +++ b/sqwebmail/Makefile.am @@ -173,6 +173,10 @@ ldapaddressbook.dist: ../ldapaddressbook/ldapaddressbook.dist install-data-local: cache-reminder +install-data-hook: + chmod 755 $(DESTDIR)@htmldir@ + chmod 755 $(DESTDIR)$(scriptdir) + install-exec-hook: -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)/sqwebpasswd -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)/sqwebpasswd diff --git a/sqwebmail/html/en-us/Makefile.am b/sqwebmail/html/en-us/Makefile.am index 029f198..5f5bded 100644 --- a/sqwebmail/html/en-us/Makefile.am +++ b/sqwebmail/html/en-us/Makefile.am @@ -27,6 +27,7 @@ install-data-hook: @SED@ -n '/^\#/p' < $(srcdir)/TIMEZONELIST \ > $(DESTDIR)$(htmllibdir)/TIMEZONELIST ; \ cat ../../TIMEZONELIST >>$(DESTDIR)$(htmllibdir)/TIMEZONELIST + chmod 755 $(DESTDIR)$(htmllibdir) clonedist: distdir -chmod -R a+r $(distdir) @@ -41,4 +42,3 @@ install-perms: @for f in $(html) ; do\ echo $(htmllibdir)/$$f 644 bin bin >>permissions.dat ;\ done - |
