I experience a peculiarity with file permissions on hosted webspace, only accessible through ftp.
After upgrading to the DokuWiki version 2006-11-06, restored files/directories in the /pages directory expect permission 646/757, otherwise pages/namespaces can't be changed/deleted.
The strange thing is that the 646/757 permissions seems to be only necessary for pages which have been transferred with ftp. Pages which I write afterwards get permissions 644/755, as expected due to (default) fmode/dmode setting, CAN be changed/deleted.
.---------------------.--------------------.-------------------------.-------------------------.
| | Writing pages from | Files restored from ftp | Files restored from ftp |
| | within DokuWiki | | |
.---------------------.--------------------+-------------------------+-------------------------.
| Permissions | 644/755 | 644/755 | 646/757 |
| (files/directories) | | | |
.---------------------+--------------------+-------------------------+-------------------------'
| Editing/deleting | Yes | No | Yes |
| pages possible? | | | |
'---------------------'--------------------'-------------------------'-------------------------'
On
this page S.Hennig wrote that proper rights are different between FTP-user and web-user. Probably referring to
chgrp. Is it possible that this explenation applies to this situation as well?
As an FTP-user, I don't see the difference between 644/755 pages generated with DokuWiki and transferred through ftp.
Anybody knows the difference?