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
--
SeanTalbert - 26 Oct 2007
Answer
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