Question
I edited the
Main.TWikiAdminGroup to not allow topic change BEFORE I added myself as an administrator, and now I cannot edit that page to add myself as an admin.
Is there any other way I can set myself up as an admin by editing some files on my server or something?
This is the step I did before addming self as an admin:
Write protect this topic by removing the # sign from the ALLOWTOPICCHANGE setting
Environment
--
PeterDUnbrack - 19 May 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
TWiki topics are plain text files. Simply edit the file
.../data/Main/TWikiAdminGroup.txt
All topics are in the data directory. Below that a directory for each web. And below that the topics. Each have two files. The topic file and the
RCS files with all the previous versions (file ends with ,v). When you edit a topic with a text editor the ,v files will miss the changes made but nothing brakes.
--
KennethLavrsen - 19 May 2007
Thanks Kenneth, I am now able to get into the TWikiAdminGroup to edit the page, however when I try to save any changes I get the following error:
Error saving topic
During save of
TWikiAdminGroup an error was found by the version control system. Please notify your TWiki administrator.
RCS: failed to create file /data/Main/TWikiAdminGroup.txt: Permission denied
Go back in your browser and save your changes locally.
Any Ideas what may be causing this?
--
PeterDUnbrack - 19 May 2007
Make sure
twiki/data/Main/TWikiAdminGroup.txt and
twiki/data/Main/TWikiAdminGroup.txt,v are owned and writable by the Apache user.
--
PeterThoeny - 19 May 2007
Excellent. Thanks Peter.
I made my
TwikiAdminGroup.txt writable for the group and it is saving changes again.
Thanks for all the help here guys.
Pete
--
PeterDUnbrack - 21 May 2007