fix: Ensure proper ownership of backup files after copying in backup-plex.sh

This commit is contained in:
Peter Wood
2025-06-06 08:24:38 -04:00
parent b76a9632c3
commit 9bb5545268

View File

@@ -1259,6 +1259,8 @@ main() {
# Copy file
if sudo cp "$file" "$backup_file"; then
# Ensure proper ownership of backup file
sudo chown plex:plex "$backup_file"
log_success "Copied: $(basename "$file")"
# Verify backup