Story #40468

As a user I want to get instructions how to fix file permissions on the first run

Added by Robert Lemke almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Setup
Target version:
Start date:
Due date:
% Done:

0%


Description

When Phoenix is downloaded / cloned from git and run without running the setfilepermissions command, the first hit will fail in most cases because the Data/* directory and others can't be created. Instead of displaying a hint on how to proceed, the raw PHP error messages slips through (see screenshot).

dod:

  • catch error messages resulting from insufficient file permissions on first run
  • display message which gives instructions on how to run the setfilepermissions command

Even better (if possible):

  • redirect to setup tool
  • provide instructions for setting file permissions
  • check (through AJAX) if that worked out and proceed automatically if file permissions are fine

Screen_Shot_2012-08-31_at_11.51.10.png View (431 KB) Robert Lemke, 2012-08-31 11:55


Subtasks

Task #40582: TESTClosedRobert Lemke

History

#1 Updated by Robert Lemke almost 7 years ago

  • Target version set to Sprint 10 (1.0 TP1)
  • translation missing: en.field_position set to 1

#2 Updated by Sebastian Kurfuerst almost 7 years ago

  • Status changed from New to Resolved
  • translation missing: en.field_position deleted (6)
  • translation missing: en.field_position set to 6

#3 Updated by Sebastian Kurfuerst almost 7 years ago

  • translation missing: en.field_position deleted (6)
  • translation missing: en.field_position set to 15

#4 Updated by Markus Goldbeck almost 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF