Tags:
create new tag
view all tags

SID-01925: RCS Permissions corrupted in Configure

Status: Answered Answered TWiki version: 6.0.0 Perl version: perl5 (revision 5 version 18 subversion 2)
Category: CategoryError Server OS: Fedora 20: 3.14.3-200.fc20.x86_64 Last update: 11 years ago

Editing any page fails with:

During save of Sandbox.TestPageV6 an error was found by the version control system. Please notify your TWiki administrator.

/usr/bin/ci  -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F% of .../Sandbox/TestPageV6.txt failed: 1 

Permissions on file:

--w------T  1 apache apache  426 May 19 23:02 TestPageV6.txt

The configure program is corrupting the permissions parameters. Correcting the values and re-saving does not help.

  • {RCS}{dirPermission} 01356 (entered 750)
  • {RCS}{filePermission} 01200 (entered 640)

Also,

  • {SmimeKeyFile} is set to my Wiki username and
  • {SmimeKeyPassword} is set to some value...

Manually adjusting the parameters in twiki/lib/LocalSite.cfg also doesn't help.

When configure runs, httpd's error_log reports errors on various RCS modules:

[Tue May 20 11:21:38.546561 2014] [cgi:error] [pid 19502] [client 10.160.186.119:55351] AH01215: rcs: warning: -V is obsolete; instead, use --version, referer: http://10.160.49.47/twiki/bin/configure?t=1400584879

co --version reports: co (GNU RCS) 5.9.0

Additionally, I was getting errors from setlib.cfg setlib.cfg: defined(@array) is deprecated at setlib.cfg line 53. setlib.cfg: defined(@array) is deprecated at setlib.cfg line 55.

I corrected these two lines by removing the "defined" so that it tests against the scalar value of @localPerlLibPath. Prior to that fix, the @INC values for the shipped modules wasn't available. I got errors trying to install CGI::Session, so I needed to use the TWiki version. Correcting setlib.cfg fixed the configure error that CGI::Session wasn't available.

Thanks!

-- Stephen Preisach - 2014-05-20

PS:

Thanks to Brian Dunshaw, SID-01918, for noticing that the "corrupted" permissions values are the result of inappropriate decimal-to-octal conversion. I edited twiki/lib/LocalSite.cfg with decimal values, and am operational -- until the next time I run configure.

Discussion and Answer

The permission issue sounds like a bug. Please file one at TWikibug:WebHome.

Not sure on rcs: warning: -V is obsolete; instead, use --version. On RCS 5.7 (default on Red Hat/ConetOS) --version produces an error, and -V works.

defined(@array) is deprecated at setlib.cfg is known issue, TWikibug:Item7487.

-- Peter Thoeny - 2014-05-20

We got a report and fix: TWikibug:Item7517 configure breaks {RCS}{filePermission} under Perl v5.18.2. This is caused by a Perl bug. The fix works around the bug.

Please apply the patch, then run configure and set {RCS}{dirPermission} to 0755, and {RCS}{filePermission} to 0644.

-- Peter Thoeny - 2014-06-17

      Change status to:
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.
SupportForm
Status Answered
Title RCS Permissions corrupted in Configure
SupportCategory CategoryError
TWiki version 6.0.0
Server OS Fedora 20: 3.14.3-200.fc20.x86_64
Web server Apache/2.4.9 (Fedora)
Perl version perl5 (revision 5 version 18 subversion 2)
Browser & version Chrome Version 34.0.1847.137 m / IE 8.0.7601.17514
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TWiki_Configuration.htm r1 manage 217.0 K 2014-05-20 - 12:29 UnknownUser Configure HTML page
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2014-06-19 - PeterThoeny
 
  • 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.