Categories

Monday, 16 April 2012

pure-ftp does'nt run unter virtuozzo

There are two easy solutions, if this is your own server, run these command on the host server, replace the ID with the ID of your virtual machine:


#vzctl set <VEID> --capability capname:on|off

VPSID=101
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 $VPSID --capability ${CAP}:on --save
done

No comments:

Post a Comment

Ad