aboutsummaryrefslogtreecommitdiff
path: root/debian/boca-submission-tools.postinst
blob: 21cfdd9a4fda2c73bab1e6d2d1db611c77d14026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

#Make sure wrapper is suid and others are not readable
chmod 700 /usr/sbin/boca-fixes
chmod 700 /usr/sbin/boca-auth-runs 
chmod 700 /usr/sbin/boca-outmanage 
chmod 700 /usr/sbin/boca-submit-log  
chmod 700 /usr/bin/boca-submit-run-*
chmod 4555 /usr/bin/boca-submit-run-root-wrapper 

for i in boca-submit-list boca-submit-oldlist; do
  rm -f /usr/bin/$i || true
  ln -s /usr/bin/boca-submit-run /usr/bin/$i
done