Dinesh Joshi wrote:
Umm so you sucessfully solved your problem i guess? IMHO the directory must be owned by apache.
Yes, solved; though there wasn't any problem to begin with - I just managed to skip a basic step ;-). The www-data user corresponds to apache, I think. Because /var/www is listed as its home directory. Must be Ubuntu's version of the apache user and group.