aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-autojudge.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/boca-autojudge.postinst')
-rw-r--r--debian/boca-autojudge.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/boca-autojudge.postinst b/debian/boca-autojudge.postinst
new file mode 100644
index 0000000..06fa222
--- /dev/null
+++ b/debian/boca-autojudge.postinst
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+chmod 4555 /usr/bin/safeexec
+chmod 700 /usr/sbin/boca-createjail
+chmod 700 /usr/sbin/boca-autojudge
+
+exit 0