CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • CiviCRM not recognizing 777 permissions.
Pages: [1]

Author Topic: CiviCRM not recognizing 777 permissions.  (Read 707 times)

civieric

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: WordPress
  • MySQL version: 5.5.32
  • PHP version: 5.4.17
CiviCRM not recognizing 777 permissions.
October 23, 2013, 10:33:13 am
CiviCRM refuses to install, telling me two directories need write permission. I've set both to 777 (after 775 wouldn't work) and this isn't helping.

total 17444
drwxrwxr-x. 5 apache apache     4096 Oct 23 12:49 .
drwxrwxr-x. 5 apache apache     4096 Oct 14 17:04 ..
drwxrwxr-x. 3 apache apache     4096 Aug  1 16:49 akismet
drwxrwxrwx. 3 apache apache     4096 Jul  8 17:43 civicrm
-rwxrwxr-x. 1 apache apache 17830202 Sep  7 10:21 civicrm-4.3.5-wordpress.zip
drwxrwxrwx. 2 apache apache     4096 Oct 14 17:12 files
-rwxrwxr-x. 1 apache apache     2255 May 22 17:08 hello.php
-rwxrwxr-x. 1 apache apache       30 Apr 15  2009 index.php

civieric

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: WordPress
  • MySQL version: 5.5.32
  • PHP version: 5.4.17
Re: CiviCRM not recognizing 777 permissions.
October 23, 2013, 11:12:57 am
When I disabled SELinux, it ran ok. 

It might be good to add an SELinux suggestion to the warning when the installer can't get write permission.

Thanks.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM not recognizing 777 permissions.
October 23, 2013, 11:31:45 am

hey eric:

any chance you can research and figure out why SELinux was not allowing apache to write to those directories even though it has write permission?

r u running apache as user apache or user www-data

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

civieric

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
  • CiviCRM version: 4.3.5
  • CMS version: WordPress
  • MySQL version: 5.5.32
  • PHP version: 5.4.17
Re: CiviCRM not recognizing 777 permissions.
March 26, 2014, 09:03:20 am
Donald:

Sorry I didn't get back to the forum for a while and missed your query.

I've just been avoiding SELinux so I'm not in a position to do what you request.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • CiviCRM not recognizing 777 permissions.

This forum was archived on 2017-11-26.