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