From 9bb5545268c3fc9b161e18c4b4afc537e29e63a7 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Fri, 6 Jun 2025 08:24:38 -0400 Subject: [PATCH] fix: Ensure proper ownership of backup files after copying in backup-plex.sh --- plex/backup-plex.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plex/backup-plex.sh b/plex/backup-plex.sh index ab3dc02..c96891f 100755 --- a/plex/backup-plex.sh +++ b/plex/backup-plex.sh @@ -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