You are here: Foswiki>Tasks Web>Item9990 (01 Aug 2016, GeorgeClark)Edit Attach

Item9990: File permission checks in configure script erroneously report errors for "advanced" file systems like AFS

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Configure
Branches:
Reported By: AndreasKeil
Waiting For:
Last Change By: GeorgeClark
Running Foswiki on a server with the AFS file system (or potentially any other file system with advanced rights management) results in the configure script reporting lots of file/directory permission errors (6 errors, 24 warnings) although the installation works just fine. The reason for this behavior is that the Unix permissions don't matter on AFS. AFS has its own permission systems that enables multiple users and groups with different permission per file/directory.

Suggested solution:
  • Detect file system and use file system-specific checks. (Hard to implement if there are more file systems such as AFS. Fast to run.)
  • Check permissions by actually reading/writing files/directories instead of using commands. (Fail-safe solution that should work for any file system. Potentially slow due many reads/writes/deletes.)

-- AndreasKeil - 10 Nov 2010

Confirming, though as you mention, the solutions are difficult. So this will probably continue to sit in the backlog

-- GeorgeClark - 14 Oct 2013

We've changed Foswiki 2.0 to use filetest 'access'; which hopefully addresses this issue. Please check the current behaviour using 2.0.3 on an AFS system.

-- GeorgeClark - 19 Nov 2015

Sorry, I changed jobs and I am no longer using Foswiki. Somebody else has to confirm.

-- AndreasKeil - 01 Aug 2016
 

ItemTemplate edit

Summary File permission checks in configure script erroneously report errors for "advanced" file systems like AFS
ReportedBy AndreasKeil
Codebase 1.1.8, 1.1.7, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.0, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r5 - 01 Aug 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy