hamstar / Braincase

A personal knowledge base system for expansion of the mind in a virtual space.
4 stars 1 forks source link

Cannot create a page #292

Closed hamstar closed 11 years ago

hamstar commented 11 years ago

Release version is SHA: 6840d33d

Writing /var/lib/dokuwiki/data/pages/test/createtest.txt failed
Writing /var/lib/dokuwiki/data/meta/test/createtest.meta failed
Writing /var/lib/dokuwiki/data/meta/test/createtest.changes failed

Link from the data folder looks like:

root@debian-braincase:~# ls /var/lib/dokuwiki/data/pages/ -l
total 16
drwxr-xr-x 5 www-data www-data 4096 Oct 29 17:34 admin
drwxr-xr-x 2 www-data root     4096 Oct 29 17:37 playground
-rw-r--r-- 1 www-data www-data  487 Oct 29 16:46 start.txt
lrwxrwxrwx 1 root     root       39 Oct 29 22:40 test -> /home/test/.dokuwiki/data.current/pages
drwxr-xr-x 2 www-data www-data 4096 Oct 29 17:37 wiki

Data folder permissions:

root@debian-braincase:~# ls /home/test/.dokuwiki/data.current -l
total 12
drwxr-xr-x 2 test www-data 4096 Oct 29 22:40 attic
drwxr-xr-x 2 test www-data 4096 Oct 29 22:40 meta
drwxr-xr-x 3 test www-data 4096 Oct 29 22:40 pages
hamstar commented 11 years ago

Looks like the folders aren't getting the correct permissions assigned. Should be group writable. This needs to be fixed in the user_creator.rb file I think.