commit:     e798e0e9c7a13b2004cb492901a8e2873388cbe9
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 30 15:05:55 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Aug 30 15:05:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e798e0e9

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 <floppym <AT> gentoo.org>

 www-apps/gitea/gitea-1.14.6.ebuild | 2 +-
 www-apps/gitea/gitea-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/gitea/gitea-1.14.6.ebuild 
b/www-apps/gitea/gitea-1.14.6.ebuild
index c1bc0be80fa..1d1bb8c1ca9 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 6a4eaea9959..aaa0a559fed 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"

Reply via email to