Can't create/write to file '/root/tmp/#sql_dd5_0.MYI' (Errcode: 13) query:

Hallo,
ich hab Drupal-5.0 lokal auf einem XAMPP 1.5.5.a-Linux installiert und komme nicht weiter.

Access denied

* user warning: Can't create/write to file '/root/tmp/#sql_dd5_0.MYI' (Errcode: 13) query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN (1) in /opt/lampp/htdocs/drupal-5.0/includes/database.mysql.inc on line 167.
* user warning: Can't create/write to file '/root/tmp/#sql_dd5_0.MYI' (Errcode: 13) query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = 'garland' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module in /opt/lampp/htdocs/drupal-5.0/includes/database.mysql.inc on line 167.

You are not authorized to access this page.

Vielleicht hat ja einer nen Tipp !

nicht wirklich gut, aber es funktioniert

versuch mal folgendes:
chmod a+rx to /root
chmod a+rwx to /root/tmp

bessere Loesung!

1. mkdir /tmp/mysql
2. chmod 777 /tmp/mysql
3. chown mysql:mysql /tmp/mysql
4. vi /opt/lampp/etc/etc/my.cnf und fuege in [mysqld section] : tmpdir = /tmp/mysql ein
5. /opt/lampp/lampp restart

fertig!