Skip to content

Commit

Permalink
Add CAP_NET_ADMIN capability to ss-redir in postinst script
Browse files Browse the repository at this point in the history
  • Loading branch information
rogers0 committed Feb 14, 2017
1 parent 80ca946 commit a65b033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/shadowsocks-libev.postinst
Expand Up @@ -22,7 +22,7 @@ case "$1" in
configure|reconfigure)
pathfind setcap && setcap \
cap_net_bind_service+ep /usr/bin/ss-local \
cap_net_bind_service+ep /usr/bin/ss-redir \
cap_net_bind_service,cap_net_admin+ep /usr/bin/ss-redir \
cap_net_bind_service+ep /usr/bin/ss-server \
cap_net_bind_service+ep /usr/bin/ss-tunnel
if [ ! -f /etc/shadowsocks-libev/config.json ]; then
Expand Down

0 comments on commit a65b033

Please sign in to comment.