blob: c5bb646fd00bd0277bdfb3d65711b30c38ac9bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -e
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 {} \;
# https://bugs.debian.org/854431
chown -R root:ssl-cert /var/lib/dehydrated/certs
echo " done."
fi
|