fix /mnt/temp ownership #3221

This commit is contained in:
openoms 2022-07-19 13:31:15 +01:00
parent 264ee95ae4
commit 4b01143ab6
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -1462,7 +1462,7 @@ if [ "$1" = "link" ]; then
>&2 echo "# - linking temp into /mnt/hdd"
rm /mnt/hdd/temp 2>/dev/null
ln -s /mnt/temp /mnt/hdd/temp
chown -R bitcoin:bitcoin
chown -R bitcoin:bitcoin /mnt/temp
>&2 echo "# - creating snapshots folder"
mkdir -p /mnt/hdd/snapshots