[dokuwiki] Re: Autolink plugin AND Apache writing

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 08 Aug 2007 16:26:56 -0500

Mark McCoy wrote:
On 8/7/07, Francois Sabot <francois.sabot@xxxxxxxxx> wrote:

2-
DokuWiki creates page and namespace using the Apache server. Thus, all
the files belong to the Apache group/user where I am hosting.
Would it be possible that DW directly assigns the owner of page to
someone else (or add a group) than Apache ?


Thanks

Francois
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


1. haven't used this plugin

2. You can do this if you have admin access to the server (or can
request groups to be created), but it is tricky to get right if you
don't have a good understanding of unix permissions and their security
implications.

You will need to do at least the following (details left up to the user):
  - set SGID or SUID bits on certain directories
  - in dokuwiki's config files, you will need to configure the default
permission options that need to be set for directories that dokuwiki
creates
  - make sure that the user that the apache binary runs as is in the
group that has read access to all of dokuwiki's directory and
read/write access to the data directory (and the conf files if you
want to use the admin gui)
If you are on a shared (hosted) server, you probably couldn't use these methods, since generally such systems prevent changes of groups and ownership. Otherwise anyone on the serever could change ownership of files and directories.

--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: