Fix ownership on the tor directory.

This commit is contained in:
parazyd 2018-01-23 12:51:23 +01:00
parent cb5e0a1cb6
commit f4b106e2f6
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 0 deletions

View File

@ -218,6 +218,9 @@ sed -e 's/UsePAM yes/UsePAM no/' -i /etc/ssh/sshd_config
## misc
sed -i -e 's/devuan/decode/' /etc/hosts
mkdir -p /var/lib/tor
chown -R debian-tor:debian-tor /var/lib/tor
rm -rf /var/lib/tor/hidden_service
## cleanup
apt-get --yes --force-yes purge ${finalize_purge_packages}