[dokuwiki] Re: File permissions

  • From: Ben Coburn <btcoburn@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 10 Jun 2006 20:58:01 -0700

On Jun 8, 2006, at 6:49 PM, Ben Coburn wrote:

On Jun 8, 2006, at 12:44 PM, Wouter D. Snel wrote:

Hi there,

I'm new to the list. Just started using DocuWiki a few
days ago and i love it allready :D
I have a question concerning uploading of images (and files)
when i upload something i would like to set the permission to
777. Does anyone know how to do this?

thanx in advance!

Kind regards,

I thought this was a general bug, but it does disapear when I upload DokuWiki to a Linux server. I'll look into this when I have a moment.

There is now a patch in the development code that fixes strange media file permissions. To get this patch just update your installation to the latest development code.

Or if you want to keep running the stable release, it is an easy change to make manually.

To manually change dokuwiki-2006-03-09b.tgz
Change line 128 in 'lib/exe/media.php' from
      if($conf['fperm']) chmod($fn, $conf['fperm']);
      chmod($fn, $conf['fmode']);

Regards, Ben Coburn

------------------- silicodon.net -------------------

DokuWiki mailing list - more info at

Other related posts: