This question about Installation of Foswiki: Asked
Version Control System preventing editing
--
MichaelN - 04 Sep 2015
Hi, Version Control System is not allowing me to make any edits to topics.
The topic is the "WebHome" that is found in Var/www/Foswiki-2.0.0/data/Main
What I had done is make a copy of the
WebHome file and it is still called "webhome"... the original I changed to another name.
I then made edits using a text editor to the copy and saved it.
Now when I try to make changes to that topic Version Control is preventing me from making any changes. here is the error message i get:
Error saving topic
During save of
Main an error was found by the version control system.
PlainFile: failed to create file /var/www/Foswiki-2.0.0/data/Main/WebHome.txt: Permission denied at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/PlainFile.pm line 1372.
at /usr/share/perl/5.14/CGI/Carp.pm line 379
- CGI::Carp::realdie('PlainFile
- failed to create file /var/www/Foswiki-2.0.0/data/...') called at /usr/share/perl/5.14/CGI/Carp.pm line 468
- CGI::Carp::die('PlainFile
- failed to create file /var/www/Foswiki-2.0.0/data/...') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/PlainFile.pm line 1372 Foswiki::Store::PlainFile::_saveFile('/var/www/Foswiki-2.0.0/data/Main/WebHome.txt', '%META:TOPICINFO{author="AlecNgo" comment="" date="1441400071"...') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Store/PlainFile.pm line 506 Foswiki::Store::PlainFile::saveTopic('Foswiki::Store::PlainFile=HASH(0x26a96c8)', 'Foswiki::Meta=HASH(0x2d946e8)', 'AlecNgo', 'HASH(0x1b7b8f0)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Meta.pm line 2135 Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 416 eval {...} called at /usr/share/perl5/Error.pm line 408 Error::subs::try('CODE(0x3016c88)', 'HASH(0x3015f80)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Meta.pm line 2152 Foswiki::Meta::saveAs('Foswiki::Meta=HASH(0x2d946e8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Meta.pm line 1999 Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 416 eval {...} called at /usr/share/perl5/Error.pm line 408 Error::subs::try('CODE(0x30357d0)', 'HASH(0x305b110)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Meta.pm line 2003 Foswiki::Meta::save('Foswiki::Meta=HASH(0x2d946e8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI/Save.pm line 672 Foswiki::UI::Save::__ANON__() called at /usr/share/perl5/Error.pm line 416 eval {...} called at /usr/share/perl5/Error.pm line 408 Error::subs::try('CODE(0x2dd5398)', 'HASH(0x30356c8)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI/Save.pm line 685 Foswiki::UI::Save::save('Foswiki=HASH(0x205d810)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI.pm line 374 Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 416 eval {...} called at /usr/share/perl5/Error.pm line 408 Error::subs::try('CODE(0x13aca10)', 'HASH(0x205d2d0)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI.pm line 500 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1ff5430)', 'CODE(0x2063230)', 'save', 1) called at /var/www/Foswiki-2.0.0/lib/Foswiki/UI.pm line 326 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1ff5430)') called at /var/www/Foswiki-2.0.0/lib/Foswiki/Engine/CGI.pm line 99 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x1967df0)') called