make sure right owner of /mnt/hdd/tor before last Tor restart (#2322)

This commit is contained in:
nyxnor 2021-08-27 09:52:51 +02:00 committed by GitHub
parent 4629948dde
commit 98b238796a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,6 +412,10 @@ EOF
}
EOF
# make sure its the correct owner before last Tor restart
sudo chmod -R 700 /mnt/hdd/tor
sudo chown -R debian-tor:debian-tor /mnt/hdd/tor
sudo systemctl restart tor@default
echo "OK - Tor is now ON"