From 84a1bbea8a5ea3564c6820feac8a092e994ae39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80?= <153805936+Cheviiot@users.noreply.github.com> Date: Sat, 25 Jul 2026 02:30:28 +1000 Subject: [PATCH] fix(telegram-desktop): ignore archive ownership on extraction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tsetup.tar.xz bakes in uid/gid 1000 from Telegram's release tooling; the sandboxed builder can't chown to it, so the build failed with "Невозможно изменить владельца". --no-same-owner/--no-same-permissions matches the pineconemc package's handling of the same issue. --- telegram-desktop/Staplerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-desktop/Staplerfile b/telegram-desktop/Staplerfile index 267f37e..713575d 100644 --- a/telegram-desktop/Staplerfile +++ b/telegram-desktop/Staplerfile @@ -59,7 +59,7 @@ scripts=( package() { cd "${srcdir}" - tar -xJf tsetup.tar.xz + tar --no-same-owner --no-same-permissions -xJf tsetup.tar.xz install -dm755 "${pkgdir}/opt/telegram-desktop" install -Dm755 "Telegram/Telegram" "${pkgdir}/opt/telegram-desktop/Telegram"