FS#52959 - [shadowsocks-libev] Please change the service owner from nobody to root.
Attached to Project:
Community Packages
Opened by Eric Wang (enihcam) - Tuesday, 14 February 2017, 02:40 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 27 June 2017, 15:55 GMT
Opened by Eric Wang (enihcam) - Tuesday, 14 February 2017, 02:40 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 27 June 2017, 15:55 GMT
|
Details
Description:
Please change the service owner from nobody to root, because ss-redir requires ROOT permission to access IP_TRANSPARENT. For more details: https://github.com/shadowsocks/shadowsocks-libev/issues/1252 Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Doug Newgard (Scimmia)
Tuesday, 27 June 2017, 15:55 GMT
Reason for closing: Fixed
Additional comments about closing: shadowsocks-libev 3.0.7-2
Tuesday, 27 June 2017, 15:55 GMT
Reason for closing: Fixed
Additional comments about closing: shadowsocks-libev 3.0.7-2
diff --git a/shadowsocks-libev/trunk/shadowsocks-libev.install b/shadowsocks-libev/trunk/shadowsocks-libev.install
index b8e175c..d6088f8 100644
--- a/shadowsocks-libev/trunk/shadowsocks-libev.install
+++ b/shadowsocks-libev/trunk/shadowsocks-libev.install
@@ -2,7 +2,7 @@ post_install() {
setcap cap_net_bind_service+ep usr/bin/ss-local 2>/dev/null
setcap cap_net_bind_service+ep usr/bin/ss-server 2>/dev/null
setcap cap_net_bind_service+ep usr/bin/ss-tunnel 2>/dev/null
- setcap cap_net_bind_service+ep usr/bin/ss-redir 2>/dev/null
+ setcap cap_net_bind_service,cap_net_admin+ep usr/bin/ss-redir 2>/dev/null
}