[pmwiki-users] problem with the installation (related to the creation of .flock file by PmWiki)
5ko at 5ko.fr
Fri Dec 2 13:24:35 CST 2011
On Friday 02 December 2011 16:50:50, Arash Ostadzadeh wrote :
> but, could it be that on the web server a security rule is placed that
> prevent any kind of write access to my public_html directory by the
> user running the webserver (Apache)? Probably the php script is run by
> the webserver (not quite sure but this is most probably the 'nobody'
> user, right?! ) and despite my granted write access for everyone, that
> particular user which runs the webserver can not write at all.
When you grant write access for everyone, this normally includes the webserver
user too (which could be nobody, www-data or something else).
> Actually when I log in to any machine on our network I am able to
> transfer files to my public_html via my own user and there is no
> restriction, however, I am not sure if the pmwiki later can write to
> my public_html via the webserver...
PmWiki doesn't need to write to public_html, it writes only to the directory
wiki.d and, if uploads are enabled, to the directory uploads.
> if this is the case, I can not use PmWiki at all, right?!
If the PHP process cannot write to disk files, you probably cannot use any
other PHP software which needs to write to disk files. (If you can, I'd be
interested to know how it works and improve the PmWiki functions.)
> Any solution that I can check this?
Search the documentation and the support forums of your hosting provider. At
least one pmwiki admin had repeated problems with file permissions: I'm not
sure if he moved to a different hosting provider.
More information about the pmwiki-users