- Code: Select all
pure-ftpd: (?@?) [ERROR] Unable to switch capabilities : Operation not permitted
1. Solution
Recompile Pure-FTPd with "--without-capabilities" option.
2. Solution
Find what's wrong with capabilities and add missing capability to your VE with vzctl command:
- Code: Select all
#vzctl set <VEID> --capability capname:on|off
For Pure-FTPd:
- Code: Select all
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE; do vzctl set <VEID> --capability ${CAP}:on --save;done