Tags:
create new tag
view all tags

Question

Hello, I've had TWiki up and in use for almost two years now. To speed things up I just installed Indigo Perl and got it working with TWiki. However, it appears that the file permissions for the data directory were changed to Read Only, only the System has access but not even Write. So, when a user tries to save an existing topic after editing, they receive the error "Cannot open /twiki/data/[...].txt,v for write: Permission denied". I'm guessing this happened when I typed in "perl ../tools/rewriteshbang.pl" (see http://twiki.org/cgi-bin/view/Codev/IndigoPerlCookbook?indigodir=C%3A%5Cindigoperl&twikidir=C%3A%5Ctwiki). I've logged into the server as administrator but am unable to change any of the files' permissions in the data directory or replace them. Anyone know what's going on and how to fix it? Thanks for your help.

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP
Web server: Apache 2.044
Perl version: v5.8.6
Client OS: Windows XP
Web Browser: Firefox 2.0.0.8
Categories: Permissions

-- SeanTalbert - 26 Oct 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/data/[...].txt,v doesn't look like a windows path?

What do you mean you are unable to change permissions? (What kind of error message do you get?)

-- SteffenPoulsen - 27 Oct 2007

That's the path given in the "Error saving topic" message. I replaced the original file name with "[...] ". Despite logging into the server as administrator, I am unable to make the files in the data directory not read only, or to change any of the security permissions. When I try, I receive a Windows error that says "Access is denied".

-- SeanTalbert - 29 Oct 2007

Not exactly sure how I fixed it, but playing with the data directory Properties->Security->Advanced->Owner... selected Administrators and "Replace owner on subcontainers and objects". Also, in Properties->Security->Advanced->Permissions... selected Administrators and "Replace permission entries on all child objects with entries shown here that apply to child objects".

-- SeanTalbert - 30 Oct 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-10-30 - SeanTalbert
 
  • 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.