fix /mnt/temp ownership #3221

This commit is contained in:
openoms
2022-07-19 13:31:15 +01:00
parent 264ee95ae4
commit 4b01143ab6

View File

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