1 |
commit: e798e0e9c7a13b2004cb492901a8e2873388cbe9 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 30 15:05:55 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 30 15:05:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e798e0e9 |
7 |
|
8 |
www-apps/gitea: set non-caps mode to 0755 |
9 |
|
10 |
Running a web application as root is insane. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/811105 |
13 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
14 |
|
15 |
www-apps/gitea/gitea-1.14.6.ebuild | 2 +- |
16 |
www-apps/gitea/gitea-9999.ebuild | 2 +- |
17 |
2 files changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/www-apps/gitea/gitea-1.14.6.ebuild b/www-apps/gitea/gitea-1.14.6.ebuild |
20 |
index c1bc0be80fa..1d1bb8c1ca9 100644 |
21 |
--- a/www-apps/gitea/gitea-1.14.6.ebuild |
22 |
+++ b/www-apps/gitea/gitea-1.14.6.ebuild |
23 |
@@ -36,7 +36,7 @@ DOCS=( |
24 |
custom/conf/app.example.ini CONTRIBUTING.md README.md |
25 |
) |
26 |
FILECAPS=( |
27 |
- cap_net_bind_service+ep usr/bin/gitea |
28 |
+ -m 0755 cap_net_bind_service+ep usr/bin/gitea |
29 |
) |
30 |
|
31 |
RESTRICT="test" |
32 |
|
33 |
diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild |
34 |
index 6a4eaea9959..aaa0a559fed 100644 |
35 |
--- a/www-apps/gitea/gitea-9999.ebuild |
36 |
+++ b/www-apps/gitea/gitea-9999.ebuild |
37 |
@@ -36,7 +36,7 @@ DOCS=( |
38 |
custom/conf/app.example.ini CONTRIBUTING.md README.md |
39 |
) |
40 |
FILECAPS=( |
41 |
- cap_net_bind_service+ep usr/bin/gitea |
42 |
+ -m 0755 cap_net_bind_service+ep usr/bin/gitea |
43 |
) |
44 |
|
45 |
RESTRICT="test" |