Tags:
create new tag
view all tags

Question

Hi everyone, I belong to TWikiWebAdmin and before upgrade I could create/edit/etc. topic, pages, but somehow after upgraded from version Dec 2001 to version Feb 2003 when I tried to add more menu to the left side of the main page I could only open and edit but I got Access Denied when I tried to save the changes. Does anyone ran into this problem before? Thanks for your pointers.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, GnuSkin
Server OS: Redhat Linux 7.3
Web server: Apache 1.3.27
Perl version: 5.6.1
Client OS: Redhat Linux 7.3
Web Browser: mozilla 1.3.1

-- VietsoftNguyen - 06 Aug 2003

Answer

My first attempt to solve this would be to check whether all the files (cgi scripts and data files) still have the right access permissions? Are they set to the right owner? Check with the TWikiInstallationGuide and your local setup.

-- TorbenGB - 15 Aug 2003

Yes. Personally I have a script, FIX_PERMS at the root of all my TWikis, that I re-run (as root) as soon as I do a manual tweaking on it, just to be sure. Its contents:

# this script fix permissions so that TWiki can continue to work after you
# have edited/created files by hand in its hierarchy
find data pub -type f -exec chmod a=rw {} \; 2>/dev/null
find data pub -type d -exec chmod a=rwx {} \; 2>/dev/null
find lib -type f -exec chmod a-x {} \; 2>/dev/null

-- ColasNahaboo - 15 Aug 2003

Colas... do I just copy a paste the code you have there into a text file or something? and change exec to apache?

-- JeffLink - 18 Aug 2003

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-01-02 - PeterThoeny
 
  • 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.