Files
hotpocket/services/backend/ops/bin/fix-run-uploads-permissions.sh

10 lines
148 B
Bash
Executable File

#!/usr/bin/env bash
echo "Fixing runtime directory permissions..."
chown $1 /srv/run || true
chmod 775 /srv/run
chown $1 $2 || true
chmod 775 $2