From 6fc652381f258702312f7d7ff4cf5c3aac895ed9 Mon Sep 17 00:00:00 2001 From: "Xavier C. Llano" Date: Mon, 11 Dec 2023 19:44:28 -0500 Subject: [PATCH] Fix permission in chrome-sandbox --- PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 48303d2..c5713ee 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=pycharm-professional pkgver=2023.3 -pkgrel=1 +pkgrel=2 pkgdesc="Python IDE for Professional Developers. Professional Edition" arch=('x86_64' 'aarch64') url='https://www.jetbrains.com/pycharm/' @@ -60,6 +60,9 @@ package() { install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png" install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg" + # issue https://youtrack.jetbrains.com/issue/IDEA-313202 + chmod 4755 "$pkgdir/opt/pycharm-professional/jbr/lib/chrome-sandbox" + # exec install -dm 755 "$pkgdir/usr/bin/" ln -s "/opt/$pkgname/bin/pycharm.sh" "$pkgdir/usr/bin/pycharm"