Browse Source

Fix permissions on transferred recordings

main
Luke Murphy 5 years ago
parent
commit
2f6ac89c80
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      bin/copy-fixed-archive

2
bin/copy-fixed-archive

@ -6,7 +6,9 @@ date
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..." echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."
rm -rf /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/* rm -rf /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/*
cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/ cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
chown -R voicegardens:voicegardens /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
echo "Copying over the voicegardens.org fixed archive ..." echo "Copying over the voicegardens.org fixed archive ..."
rm -rf /var/www/voicegardens.org/voicegardens/archive/* rm -rf /var/www/voicegardens.org/voicegardens/archive/*
cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/ cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/
chown -R voicegardens:voicegardens /var/www/voicegardens.org/voicegardens/archive/

Loading…
Cancel
Save