I installed a new wiki on my local machine. When I click on edit, I get the following error:

Error: cannot write to /home/user/myiki2/.ikiwiki/lockfile: Permission denied

I checked the permissions of that file and assured that they are the same as in my other working ikiwiki, but it doesn't help. Any idea?

What exactly are the permissions for the lockfile and the directory it is in?

What user is the ikiwiki running as?

Comment by tale Wed Dec 28 15:35:25 2011

stat -c '%A %a %U %G %n' myiki2 myiki1
drwxr-xr-x 755 user user myiki2
drwxr-xr-x 755 user user myiki1

stat -c '%A %a %U %G %n' myiki2/.ikiwiki myiki1/.ikiwiki
drwxr-xr-x 755 user user myiki2/.ikiwiki
drwxr-xr-x 755 user user myiki1/.ikiwiki

stat -c '%A %a %U %G %n' myiki2/.ikiwiki/lockfile myiki1/.ikiwiki/lockfile
-rw-r--r-- 644 user user myiki2/.ikiwiki/lockfile
-rw-r--r-- 644 user user myiki1/.ikiwiki/lockfile

As you see, myiki2 has the same permissions as myiki1, but myiki1 works.

Comment by micheal Wed Dec 28 19:06:06 2011