Tags:
create new tag
view all tags

Question

I am facing three issues with TWiki

i) Related to RCS (Installed Version 5.7) - On trying to Update some pages i get this error

" Error saving topic During save of [File Name] an error was found by the version control system. Please notify your TWiki administrator.

RCS: failed to create file [File Location] Permission denied

Go back in your browser and save your changes locally. "

On further investigation i found that this error occurs ONLY for the New Topics/Webs that i create.

The new files that are created or edited(after manually changing rights after creation) have only "Read and Execute" rights for SYSTEM.

I am attaching some Settings that i have Provided for RCS i) $TWiki::cfg{RCS}{filePermission} = 0777; ii) $TWiki::cfg{RCS}{dirPermission} = 0777; (Mofified the above two from default 755 and 664)

I had also applied CHMOD 775 and Chown for the twiki/data and twiki/pub directory.

ii) EMAIL - I am unable to provide the Net::SMTP related fucntionality for Twiki.

So presently i have commented out the email related code for Registeration.

We are trying to install Twiki on a corporate intranet.

Can you let me know what the settings for these items should be like ? $TWiki::cfg{SMTP}{MAILHOST} = $TWiki::cfg{PROXY}{PORT} = $TWiki::cfg{SMTP}{SENDERHOST} = $TWiki::cfg{PROXY}{HOST} =

iii) Is it possible to prevent all users from accessing Twiki web by changing the Twiki.Webpreferences variables #Set DENYWEBVIEW = #Set ALLOWWEBVIEW =

I tried this but was unable to get the desired result.

Please let me know your suggestions.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP
Web server: Apache 2.0.55
Perl version: ActivePerl 5.8.7
Client OS: MS Windows
Web Browser: Firefox 1.5.0.1
Categories: Version control, Mail

-- HarrySidhu - 11 Feb 2006

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.

Have you checked the output of configure? This does some permission checking. Attaching it here as mentioned in SupportGuidelines would be helpful.

Have you tried chmod 777 on the web directories under twiki/data? If you run configure it will tell you what userid your scripts are running as - frequently this is different to the userid your TWiki files are owned by, so you need to set all TWiki web files and directories to 777, and do the same for the pub hierarchy. This is only recommended if you are on a web server host where you trust the other users, and ideally only used by trusted administrators.

The other thing is to look at Google:windows+xp+twiki+rcs+permissions - there are some pages that explain the Windows permission settings required for TWiki, which may be relevant here. Also, EditAndSaveAnyPage looks quite similar to your problem.

Unfortunately, installing TWiki on Windows is rather complex. If you have enough bandwidth and RAM, you might want to try the TWikiVMDebianStable TWiki package, which can be installed on Windows in about 5 minutes once the large download is done, and is much easier than the WindowsInstallCookbook. Since this is a Linux on Windows setup, installing the CPAN:Net::SMTP and other Perl modules is easy.

As for your (HTTP) proxy settings, it's best to look in IE6 under Tools, Internet Options, Connectivity (or LAN settings or something) and note your proxy settings there. If they are Automatic, contact your IT department for the details. As for the SMTP settings, the sender host is your TWiki server (optional) and the main SMTP host is a server that provides SMTP service. This may be your local Exchange or other email server but again, talk to IT dept for details.

-- RichardDonkin - 12 Feb 2006

Windows Installation I was unable to get the RCS problem resolved after setting chmod 777 for directories under data .

RedHat Linux Installation Instead we asked a Linux person for help and installed Twiki on a linux box. The installation was easy and TWiki isnt giving any problem related to RCS.

ii) SMTP, we have disabled it for registeration.

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