Tags:
create new tag
view all tags

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

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

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2001-11-20 - RickOliver
 
  • 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.