/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Teddy Hogeborn
  • Date: 2016-03-19 04:26:32 UTC
  • Revision ID: teddy@recompile.se-20160319042632-cmmhptyfmj24sbj0
Client: Make plugin helper directory in initramfs image mode u=rwx,go=

Make the plugin helper directory was secure in the initramfs image
just as it is in the normal file system.

* initramfs-tools-hook: Install plugin-helper directory into initramfs
  image as mode u=rwx.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
OPTIMIZE=-Os -fno-strict-aliasing
41
41
LANGUAGE=-std=gnu11
42
42
htmldir=man
43
 
version=1.7.7
 
43
version=1.7.6
44
44
SED=sed
45
45
 
46
46
USER=$(firstword $(subst :, ,$(shell getent passwd _mandos || getent passwd nobody || echo 65534)))
339
339
                chown -- $(USER):$(GROUP) $(STATEDIR) || :; \
340
340
        fi
341
341
        if [ "$(TMPFILES)" != "$(DESTDIR)" -a -d "$(TMPFILES)" ]; then \
342
 
                install --mode=u=rw,go=r tmpfiles.d-mandos.conf \
 
342
                install --mode=u=rwx,go=r tmpfiles.d-mandos.conf \
343
343
                        $(TMPFILES)/mandos.conf; \
344
344
        fi
345
345
        install --mode=u=rwx,go=rx mandos $(PREFIX)/sbin/mandos
436
436
                > $(MANDIR)/man8/askpass-fifo.8mandos.gz
437
437
        gzip --best --to-stdout plugins.d/plymouth.8mandos \
438
438
                > $(MANDIR)/man8/plymouth.8mandos.gz
439
 
        gzip --best --to-stdout intro.8mandos \
440
 
                > $(MANDIR)/man8/intro.8mandos.gz
441
439
 
442
440
install-client: install-client-nokey
443
441
# Post-installation stuff