Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

Checking for SMH: Creating folder returns false negative #33

@fbender

Description

@fbender

I'm running a Debian server with PHP 5.2.6 (yes, it's old, but it's a Debian-patched version) under Apache with suPHP. Apache runs as www-data, the PHP scripts run as the specific user (in my testing case: rabp).

Result from "Do I need to use the Safe Mode Hack?" in Contao Check 4.1:

  1. safe_mode NOT enabled (GREEN).
  2. Test folder could be created but does not have the correct owner (RED). Should be: root, is: rabp.
  3. Test file could be created (GREEN). Owner is: rabp.

I never had a problem with Contao running without the Safe Mode Hack and the former Contao Check also returned ALL GREEN. Thus, the new Contao Check most likely returns a false negative. The code testing the folder permissions must have changed compared to the old Contao Check. Why is the file checked for a different owner than the folder?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions