diff --git a/Makefile.in b/Makefile.in index 978cbf92d..4e55e5ea1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -86,7 +86,7 @@ realinstall: sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" rm -fr .etc # install apparmor profile - sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" + sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/. # man pages install -m 0755 -d $(DESTDIR)/$(mandir)/man1