From 58ad167fd876062f2da11d72ea473bcfdcde8750 Mon Sep 17 00:00:00 2001 From: SequeI Date: Fri, 21 Nov 2025 11:14:25 +0000 Subject: [PATCH] chore: backport commit from develop Signed-off-by: SequeI --- rhtas/tuf-repo-init.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rhtas/tuf-repo-init.sh b/rhtas/tuf-repo-init.sh index 0c4dae6d..ed70b6f7 100755 --- a/rhtas/tuf-repo-init.sh +++ b/rhtas/tuf-repo-init.sh @@ -313,6 +313,11 @@ for file in "${files_to_delete[@]}"; do rm -- "$file" done +echo "Setting 644 permissions on public repository files..." +find "${OUTDIR}" -type f -exec chmod 644 {} + + +# test +ls -Rla "${OUTDIR}" echo "Copying the TUF repository to final location ${TUF_REPO_PATH} ..." # TODO: fix this based on changes in layout of tuftool output