Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Permissions

-- PeterDUnbrack - 19 May 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-05-21 - PeterDUnbrack
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.