[dokuwiki] Re: (IMP!) Major Change in Handling FTP (FTP Hack and problems with permissions)

  • From: Christian Sciberras <uuf6429@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 13 Jun 2010 12:44:00 +0200

Andreas,

> Can you please explain, what the exact problem is? I don't think it is
> reasonable to run allso run file writes through FTP. If files are not
> writable on the server then DokuWiki is clearly not the right wiki for
> that setup. But as I said, usually safemode only creates problems with
> with directories.

As I've already said, the files won't be writable. Someone in DokuWiki
already knows this since they suggested to use 0777 when writing file
directories, however, some hosts fail to write files even in such
conditions.
I can't explain why in full since I don't understand in depth how the
FS on linux works. I hoped the fact that "they just didn't work
through PHP" was enough.
So you're saying we shouldn't run DokuWiki on Rackspace servers? We've
had this problem and fixed it via FTP writes, using the code I'm
providing.

> No. We're working with patches here. Either git or unified diff
> against a current snapshot. If you want to add the features as you
> described them, then you are the one who integrates them, not someone.
> Please make yourself familiar with the DokuWiki development process if
> you want to contribute (http://www.dokuwiki.org/development).

Fine then, that's a dead end. I'd happily help in developing DokuWiki
but I can't waste my time on git.
I'll highlight my situation in short; so to get these "features" (uhm,
actually more like "bug fix") integrated I'm going to waste long hours
to get git/dif working on a VM, get familiar with the dev process and
stick to its every detail whereas anyone in your team could do it in
under 15 minutes? No doubt potential contributors are put off. Hacking
my own install is obviously way more feasible.

> PS: Also, please read and adhere to the mailinglist rules. No top posting 
> here.

OK. Sorry for that.

PS: I'm attaching the class file and an example of use, just in case
someone actually wants to integrate it. Feel free to ignore it.


Christian Sciberras.

Other related posts: