You are here: Foswiki>Tasks Web>Item13631 (27 Oct 2015, GeorgeClark)Edit Attach

Item13631: Configure reports false permission errors on some advanced file systems. Solution: use filetest 'access';

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Engine
Component: Configure
Branches: master
Reported By: AndreLichtsteiner
Waiting For:
Last Change By: GeorgeClark
In the attempt to get the latest Foswiki, 2.0.1, up and running on our environment I found two cases so far where Foswiki tests suboptimal for write access to files. See also Tasks.Item2351. This leads to wrong error messages in configure.

Affected perl files:
  • lib\Foswiki\Configure\Checkers\Htpasswd\FileName.pm
  • lib\Foswiki\Configure\Checkers\Log\Dir.pm

-- AndreLichtsteiner - 24 Aug 2015

We came across one more file that's missing the setting use filetest 'access';

  • lib\Foswiki\Configure\Checkers\Htpasswd\LockFileName.pm

I guess, the problem is related to every if ( !-w $file ) {....

-- AndreLichtsteiner - 12 Oct 2015

Once a task is closed, we need a new task to work on unresolved issues. I opened Item13838 to pick this up.

-- GeorgeClark - 27 Oct 2015
 

ItemTemplate edit

Summary Configure reports false permission errors on some advanced file systems. Solution: use filetest 'access';
ReportedBy AndreLichtsteiner
Codebase 2.0.1
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:9b5afe8e0b79
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:9b5afe8e0b79
ItemBranchCheckins
Release01x01Checkins
Topic revision: r6 - 27 Oct 2015, GeorgeClark - This page was cached on 28 Jul 2016 - 14:37.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License