[dokuwiki] Re: Broken wiki, new admin

  • From: Andreas-Johann Ulvestad <aj@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 27 Sep 2010 19:15:49 +0200

On Mon, 2010-09-27 at 13:07 -0400, Joshua Evans wrote:
> On Mon, Sep 27, 2010 at 12:45 PM, Andreas-Johann Ulvestad <aj@xxxxxx>
> wrote:
>         On Mon, 2010-09-27 at 12:35 -0400, Joshua Evans wrote:
>         > All,
>         >
>         > I'm rather new to admin for the wiki, I have an issue that I
>         have no
>         > idea how to resolve, or really, even what the problem is to
>         begin
>         > with. In my admin user controls, I can no longer edit user
>         groups the
>         > icon is grayed out. Also, when I try to change access
>         control for a
>         > particular page, I get the following error:
>         >
>         > Writing /groups/labs/idea/public_html/wiki/conf/acl.auth.php
>         failed
>         
>         
>         It seems that the web server can't access the specified file
>         (...acl.auth.php) for writing. Depending on your system's
>         configuration,
>         check for write access for httpd/apache or similar.
>
> How would I check for access? I use putty to run the parse files for
> adding/removing users, I'm assuming all this needs to be done through
> the hosting server. Thanks!
> 

I would suggest to connect to the server (eg through putty or another
ssh client), change directory
(cd /groups/labs/idea/public_html/wiki/conf) and then run ls -l
acl.auth.php.

You should get something similar to:
-rw-rw-r--. 1 apache apache 229 2010-07-20 15:35 acl.auth.php

In this instance, the file is owned by the user apache and group apache,
so everything is in order (apache is the web server on this system). You
should make sure that the file has group ownership corresponding to your
web server. Probably the correct command should be
 chgrp apache acl.auth.php
OR
 chgrp httpd acl.auth.php

And then making sure that the group (apache or httpd) can write to the
file, with the command:
 chmod g+w acl.auth.php

Please note, the group names I use here are just examples, and might
work on something like 60-70% of regular linux installations. It might
work for you, it might not.

Hope you succeed :-).



-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: