suid bit for crontab

This commit is contained in:
Konstantin Stepanov 2015-07-21 13:00:43 +03:00
parent 372f75e181
commit 5eed0cad05

View File

@ -19,6 +19,7 @@ build: target/debug/systemd-crontab-generator target/debug/boot-delay target/deb
install: release
find target/release -maxdepth 1 -executable -type f -not -name systemd-crontab-generator -execdir \
install --mode=0755 --strip -D {} ${PREFIX}/usr/bin/{} \;
chmod u+s ${PREFIX}/usr/bin/crontab
install --mode=0755 --strip -D target/release/systemd-crontab-generator ${PREFIX}/lib/systemd/system-generators/systemd-crontab-generator
install --mode=0644 -D units/cron.target ${PREFIX}/lib/systemd/system/cron.target