Question
I'm getting an error when I try to save my preferences in TWiki/TWikiPreferences:
Topic save error
During save of file TWiki.TWikiPreferences an error was found by the version control system. Please notify your TWiki administrator.
/usr/bin/ci -q -l -m'none' -t-none -w'guest' /home/ciaran/wiki/data/TWiki/TWikiPreferences.txt 2>&1 1>/dev/null
ci: /home/ciaran/wiki/data/TWiki/TWikiPreferences.txt,v: Permission denied
Go back in your browser and save your changes locally.
Any ideas?
.
- TWiki version: 01 Sep 2001
- Web server: Apache/1.3.12
- Server OS: Linux version 2.2.16 (root@bigkitty) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #97 Fri Jun 16 19:45:30 PDT 2000
- Web browser: MS Internet Explorer 5.0
- Client OS: Windows NT 4.0 Workstation
[edit: After I posted this question, I went back and registered as
CiaranHamilton .]
--
CiaranHamilton - 07 Nov 2001
Update: This also happens when I save any page, not just
TWikiPreferences.
--
CiaranHamilton - 07 Nov 2001
Answer
Run the
testenv script to find out what user the cgi scripts are running under. Then check the directory permissions below the twiki/data directory, and also the file permissions in those directories. They should be writable by the cgi user (usually user
nobody). See details in the
TWikiInstallationGuide.
--
PeterThoeny - 07 Nov 2001
Thanks. I found that although the files were supposedly writable by 'other', the directories weren't, so that caused the problem. For some reason I can't use chown, it said 'Permission denied'. Thanks!
--
CiaranHamilton - 08 Nov 2001
I just had the exact same problem. I had to do a complete reinstall of TWiki, but didn't want to lose my customizations so I tarballed it up and installed it over the new system. Seems that the default Apache installation for v. 1.3.22_4 sets the default user/group to www/www. Once I changed that to nobody/nogroup everything seemed to work again.
--
RickOliver