From e798e0e9c7a13b2004cb492901a8e2873388cbe9 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 30 Aug 2021 11:05:55 -0400 Subject: www-apps/gitea: set non-caps mode to 0755 Running a web application as root is insane. Bug: https://bugs.gentoo.org/811105 Signed-off-by: Mike Gilbert --- www-apps/gitea/gitea-1.14.6.ebuild | 2 +- www-apps/gitea/gitea-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www-apps') diff --git a/www-apps/gitea/gitea-1.14.6.ebuild b/www-apps/gitea/gitea-1.14.6.ebuild index c1bc0be80fab..1d1bb8c1ca98 100644 --- a/www-apps/gitea/gitea-1.14.6.ebuild +++ b/www-apps/gitea/gitea-1.14.6.ebuild @@ -36,7 +36,7 @@ DOCS=( custom/conf/app.example.ini CONTRIBUTING.md README.md ) FILECAPS=( - cap_net_bind_service+ep usr/bin/gitea + -m 0755 cap_net_bind_service+ep usr/bin/gitea ) RESTRICT="test" diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild index 6a4eaea9959b..aaa0a559fede 100644 --- a/www-apps/gitea/gitea-9999.ebuild +++ b/www-apps/gitea/gitea-9999.ebuild @@ -36,7 +36,7 @@ DOCS=( custom/conf/app.example.ini CONTRIBUTING.md README.md ) FILECAPS=( - cap_net_bind_service+ep usr/bin/gitea + -m 0755 cap_net_bind_service+ep usr/bin/gitea ) RESTRICT="test" -- cgit v1.2.3-65-gdbad