[packages/pure-ftpd] - rel 5; more caps and no hack needed (but that doesn't seem to be the good way of solving this)

arekm arekm at pld-linux.org
Thu Mar 28 09:33:48 CET 2019


commit 52a7f16ffa7c40b7e76f9ea3aefdd86cc2467e9d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Mar 28 09:33:38 2019 +0100

    - rel 5; more caps and no hack needed (but that doesn't seem to be the good way of solving this)

 caps.patch | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
diff --git a/caps.patch b/caps.patch
new file mode 100644
index 0000000..fcfc154
--- /dev/null
+++ b/caps.patch
@@ -0,0 +1,25 @@
+From 7918d2177bb1d306ad68cf42549be84024db7b05 Mon Sep 17 00:00:00 2001
+From: Frank Denis <github at pureftpd.org>
+Date: Wed, 27 Mar 2019 22:19:28 +0100
+Subject: [PATCH] Add CAP_DAC_OVERRIDE to the Linux capabilities
+
+maybe
+fixes #3
+---
+ src/caps_p.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/caps_p.h b/src/caps_p.h
+index bce67ba..c5f2269 100644
+--- a/src/caps_p.h
++++ b/src/caps_p.h
+@@ -16,7 +16,8 @@ cap_value_t cap_keep_startup[] = {
+     CAP_NET_BIND_SERVICE,
+     CAP_SYS_CHROOT,
+     CAP_SYS_NICE,
+-    CAP_DAC_READ_SEARCH
++    CAP_DAC_READ_SEARCH,
++    CAP_DAC_OVERRIDE
+ };
+ 
+ cap_value_t cap_keep_login[] = {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pure-ftpd.git/commitdiff/52a7f16ffa7c40b7e76f9ea3aefdd86cc2467e9d



More information about the pld-cvs-commit mailing list