I've done some poking around and according to a 'User list' in Webmin, I have a user and a group called www-data. Since I can see no other user called apache or similar, I'm assuming that this is the one I need to give write permissions to on the two specified directories.
I tried chown -R www-data:www-data /path-to-directories but when I refresh the installer checking page, it still says that the directories are not writeable.
Directory listing is:
# ls -la
drwxr-xr-x 11 501 80 4096 2011-02-09 16:10 .
drwxr-x--- 4 snowweb snowweb 4096 2011-03-13 07:30 ..
drwxr-xr-x 2 501 80 4096 2011-03-13 05:54 bin
-rw-r--r-- 1 501 80 9197 2011-02-09 12:46 CHANGELOG
drwxr-xr-x 2 501 80 4096 2011-03-13 08:15 config
-rw-r--r-- 1 501 80 1145 2010-02-18 18:09 .htaccess
-rw-r--r-- 1 501 80 10430 2011-02-09 10:51 index.php
-rw-r--r-- 1 501 80 8390 2011-01-29 14:55 INSTALL
drwxr-xr-x 3 501 80 4096 2011-03-13 05:54 installer
-rw-r--r-- 1 501 80 17987 2008-10-29 19:11 LICENSE
drwxr-xr-x 2 www-data www-data 4096 2011-03-13 05:54 logs
drwxr-xr-x 24 501 80 4096 2011-03-13 05:54 plugins
drwxr-xr-x 7 501 80 4096 2011-03-13 05:54 program
-rw-r--r-- 1 501 80 2263 2011-01-12 15:54 README
-rw-r--r-- 1 501 80 26 2008-03-22 13:43 robots.txt
drwxr-xr-x 3 501 80 4096 2011-03-13 05:54 skins
drwxr-xr-x 2 501 80 4096 2011-03-13 05:54 SQL
drwxr-xr-x 2 www-data www-data 4096 2011-03-13 05:54 temp
-rw-r--r-- 1 501 80 1052 2010-04-15 07:28 UPGRADING
Any ideas please?