Si il comando da shell (root) funziona

www-data:x:33:33:www-data:/var/www:/bin/sh