diff options
| author | cassio <cassiopc@gmail.com> | 2018-08-29 13:03:37 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-08-29 13:03:37 +0000 |
| commit | 893c493314e12631d90c724ce2c985174cc24f17 (patch) | |
| tree | 7a72464f58449949ddd30aa96870e53f3bd119b4 /debian/boca-submission-tools.postinst | |
| parent | b3d6ce4d2c1650d2e99787f372c51d88d07d65d6 (diff) | |
| download | boca-893c493314e12631d90c724ce2c985174cc24f17.tar.gz boca-893c493314e12631d90c724ce2c985174cc24f17.zip | |
forcing chmod no postinstall
Diffstat (limited to 'debian/boca-submission-tools.postinst')
| -rw-r--r-- | debian/boca-submission-tools.postinst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/boca-submission-tools.postinst b/debian/boca-submission-tools.postinst index 17945a4..dd3f8e4 100644 --- a/debian/boca-submission-tools.postinst +++ b/debian/boca-submission-tools.postinst @@ -1,7 +1,12 @@ #!/bin/bash -#Make sure wrapper is suid +#Make sure wrapper is suid and others are not readable chmod 4555 /usr/bin/boca-submit-run-root-wrapper +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-* for i in boca-submit-list boca-submit-oldlist; do rm -f /usr/bin/$i || true |