From 9c31a10faf4036fbc07a3fac5ac9dde884e416f3 Mon Sep 17 00:00:00 2001 From: Gentrit Biba Date: Wed, 18 Feb 2026 15:17:06 +0100 Subject: [PATCH] fix: set suid on chrome-sandbox for proper sandboxing --- .SRCINFO | 2 +- PKGBUILD | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7494e4526a82a..26307f86d509e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = cogpit pkgdesc = Dashboard for browsing and inspecting Claude Code agent sessions pkgver = 0.0.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/gentritbiba/cogpit arch = x86_64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index 0a649ba8687f6..26321e238c1b1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Gentrit Biba pkgname=cogpit pkgver=0.0.1 -pkgrel=2 +pkgrel=3 pkgdesc="Dashboard for browsing and inspecting Claude Code agent sessions" arch=('x86_64') url="https://github.com/gentritbiba/cogpit" @@ -12,5 +12,9 @@ sha256sums=('cf2251ec59fd45797f80051c432513abf6cce04e8fa4b98ace61dd3aefef02ec') package() { cd "${srcdir}" - tar -xf "${pkgname}-${pkgver}.pacman" -C "${pkgdir}/" --exclude='.MTREE' --exclude='.PKGINFO' --exclude='.INSTALL' + tar -xf "${pkgname}-${pkgver}.pacman" -C "${pkgdir}/" \ + --exclude='.MTREE' --exclude='.PKGINFO' --exclude='.INSTALL' + + # chrome-sandbox requires suid for Chromium sandboxing + chmod 4755 "${pkgdir}/opt/Cogpit/chrome-sandbox" }