diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-28 04:56:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-28 04:56:44 +0000 |
commit | 99e7823b24e116ade7279cf45336e7f0c74e40d6 (patch) | |
tree | 8cec3018a7921e185096e69ac986542945b826a5 /bin/exit_hook.fix-permissions.sh | |
parent | Updating. (diff) | |
download | progress-linux-tools-99e7823b24e116ade7279cf45336e7f0c74e40d6.tar.xz progress-linux-tools-99e7823b24e116ade7279cf45336e7f0c74e40d6.zip |
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin/exit_hook.fix-permissions.sh')
-rwxr-xr-x | bin/exit_hook.fix-permissions.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/exit_hook.fix-permissions.sh b/bin/exit_hook.fix-permissions.sh deleted file mode 100755 index 74074cd..0000000 --- a/bin/exit_hook.fix-permissions.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -echo " + Fixing permissions..." - -if getent group ssl-cert > /dev/null 2>&1 -then - echo -n " + /var/lib/dehydrated/certs:" - - find /var/lib/dehydrated/certs -type d -exec chmod 0750 {} \; - find /var/lib/dehydrated/certs -type f -exec chmod 0640 {} \; - - chown -R root:ssl-cert /var/lib/dehydrated/certs - - echo " done." -fi |