Forum

Can't change access permissions of work directory

Samiux
5 March 2010, 08:11


Hiawatha version: 7.0
Operating System: Ubuntu 9.10 Server

I just updated the kernel to the latest one. I re-compiled Hiawatha 7.0 and re-install it. When I start Hiawatha, the following message displayed and the webserver not works at all.

Starting webserver: Can't change access permissions of work directory '/var/lib/hiawatha'


And the permission of /var/lib/hiawatha is :

sudo ls -la /var/lib/hiawatha/

drwx------ 4 www-data www-data 4096 2010-02-22 10:58 .
drwxr-xr-x 41 root root 4096 2010-02-11 06:38 ..
drwx------ 2 www-data www-data 4096 2010-03-05 15:02 monitor
drwx-wx-wt 2 root root 4096 2010-02-22 10:58 upload



When I issued the following command, the webserver works. However, when I restart Hiawatha again, the captioned error message appears again :

sudo chown -R root:root /var/lib/hiawatha


Any idea?

Samiux
Samiux
5 March 2010, 09:23
Sorry, problem is solved. The apparmor not setting properly caused the problem.

Samiux
Hugo Leisink
5 March 2010, 20:54
Good to hear your problem has been solved. If you have a good working AppArmor config for Hiawatha, please share it with me.
This topic has been closed.