summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-08-30 11:05:55 -0400
committerMike Gilbert <floppym@gentoo.org>2021-08-30 11:05:55 -0400
commite798e0e9c7a13b2004cb492901a8e2873388cbe9 (patch)
tree241cdc8d37f17d0693f95de3643f50738ec63779 /www-apps
parentwww-apps/novnc: update homepage and setuptools var (diff)
downloadgentoo-e798e0e9c7a13b2004cb492901a8e2873388cbe9.tar.gz
gentoo-e798e0e9c7a13b2004cb492901a8e2873388cbe9.tar.bz2
gentoo-e798e0e9c7a13b2004cb492901a8e2873388cbe9.zip
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@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/gitea/gitea-1.14.6.ebuild2
-rw-r--r--www-apps/gitea/gitea-9999.ebuild2
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 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"