Le mercredi 21 juillet 2010, Davide Prina a écrit :
> nearly all dokuwiki data file (cache, index, pages, ...) are become  
> root:root with only 'r' permission to "other".
> So all my wiki local site is read only.

Bad thing, indeed. Did you do something special when upgrading or
installing the package? Or did you simple aptitude install/upgrade?

If you download the package (aptitude download dokuwiki), and list its
content (dpkg-deb -c dokuwiki*.deb), you will see:
drwx------ www-data/root     0 2010-06-27 22:24 ./var/lib/dokuwiki/acl/
drwx------ www-data/root     0 2010-02-08 23:07 ./var/lib/dokuwiki/data/
drwxr-xr-x www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/tmp/
drwx------ www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/media/
drwx------ www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/attic/
drwxr-xr-x www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/index/
drwx------ www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/locks/
drwx------ www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/cache/
drwx------ www-data/root     0 2010-06-27 20:08 ./var/lib/dokuwiki/data/pages/
drwx------ www-data/root     0 2010-02-07 15:13 ./var/lib/dokuwiki/data/meta/

And if you look at the package scripts, that is the only one that gets
executed when you install or upgrade, you will see no chown or chmod on
/var/lib/dokuwiki.

So I really cannot see what could have caused that on the package
itself, and I rather suspect something external, such as a
backup/restore cycle, or a filesystem rights checking tool...

-- 
Tanguy Ortolo

Attachment: signature.asc
Description: Digital signature

Reply via email to