From 5a0aeb128f4d68fab58f5f1c0dd82002e90eb611 Mon Sep 17 00:00:00 2001 From: illiliti Date: Sun, 5 Jul 2020 09:02:21 +0300 Subject: [PATCH] fix permissions --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c481a7c..70b793d 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,11 @@ install: ${DESTDIR}${BINDIR} cp -R hooks/* ${DESTDIR}${DATADIR}/tinyramfs/hooks/ cp init device-helper ${DESTDIR}${DATADIR}/tinyramfs - chmod -R 644 ${DESTDIR}${DATADIR}/tinyramfs - cp config ${DESTDIR}${SYSCONFDIR}/tinyramfs - chmod 600 ${DESTDIR}${SYSCONFDIR}/tinyramfs/config - cp tinyramfs ${DESTDIR}${BINDIR}/tinyramfs - chmod 755 ${DESTDIR}${BINDIR}/tinyramfs + chmod -R 755 ${DESTDIR}${DATADIR}/tinyramfs + cp config ${DESTDIR}${SYSCONFDIR}/tinyramfs + chmod 600 ${DESTDIR}${SYSCONFDIR}/tinyramfs/config + cp tinyramfs ${DESTDIR}${BINDIR}/tinyramfs + chmod 755 ${DESTDIR}${BINDIR}/tinyramfs uninstall: rm -f ${DESTDIR}${BINDIR}/tinyramfs