Is not writable or does not exist! but they are



  • When I first go in to install I get this:

    /var/www/html/i-doit/temp is not writable or does not exist!
    Make sure the apache process is allowed to write into it.
    On Unix systems, do "chmod 777 /var/www/html/i-doit/temp".

    /var/www/html/i-doit/src/ is not writable or does not exist!
    Make sure the apache process is allowed to write into it.
    On Unix systems, do "chmod 777 /var/www/html/i-doit/src/".

    but when I check the install folder subfolders and permissions are correct

    ls -l /var/www/html/i-doit/
    total 14088
    drwxrwxr-x.  5 apache users    4096 Dec  8 06:00 admin
    -rw-r–r--.  1 apache users  238821 Dec  8 05:58 CHANGELOG
    -rw-r--r--.  1 apache users    3204 Dec  8 06:00 checkmk_transfer.sh
    -rw-r--r--.  1 apache users    1226 Dec  8 05:58 composer.json
    -rw-r--r--.  1 apache users    76117 Dec  8 05:58 composer.lock
    -rwxr-xr-x.  1 apache users      337 Dec  8 06:00 controller
    -rw-r--r--.  1 apache users    17909 Dec  8 06:00 controller.php
    drwxrwxr-x.  4 apache users    4096 Dec  8 05:58 docs
    -rw-r--r--.  1 apache users 13970890 Feb  8 06:16 idoit-open-1.8.zip
    -rwxr-xr-x.  1 apache users    3447 Dec  8 06:00 idoit-rights.sh
    drwxrwxr-x. 14 apache users    4096 Dec  8 05:58 images
    -rwxr-xr-x.  1 apache users      256 Dec  8 05:58 import
    drwxrwxrwx.  4 apache users    4096 Dec  8 05:58 imports
    -rw-r--r--.  1 apache users    6821 Dec  8 06:00 index.php
    -rw-r--r--.  1 apache users    3991 Dec  8 05:58 INSTALL
    -rw-r--r--.  1 apache users      52 Dec  8 06:00 LICENSE
    drwxrwxr-x.  2 apache users    4096 Dec  8 05:58 log
    -rw-r--r--.  1 apache users    4672 Dec  8 06:00 proxy.php
    drwxrwxr-x.  4 apache users    4096 Dec  8 06:00 setup
    drwxrwxrwx.  9 apache users    4096 Dec  8 06:00 src
    drwxrwxr-x.  3 apache users    4096 Dec  8 05:58 syslog
    drwxrwxrwx.  2 apache users    4096 Dec  8 05:58 temp
    -rwxr-xr-x.  1 apache users      417 Dec  8 05:58 tenants
    -rw-r--r--.  1 apache users    2665 Dec  8 05:58 UPDATE
    -rwxr-xr-x.  1 apache users      455 Dec  8 05:58 updatecheck
    drwxrwxr-x.  6 apache users    4096 Dec  8 06:00 updates
    drwxrwxr-x.  5 apache users    4096 Dec  8 05:58 upload
    drwxrwxr-x. 26 apache users    4096 Dec  8 06:00 vendor
    drwxrwxr-x.  2 apache users    4096 Dec  8 05:58 xsd
    drwxrwxr-x.  2 apache users    4096 Dec  8 05:58 xsl



  • Security AddOn selinux active? AIRC is default on CentOS.

    PHP paramter open_basedir on?

    PHP with suhosin installed?

    access control list  on linux active?

    That are the keywords I would check.



  • Thanks for the pointer, SELinux was my issue.

    For anyone else getting this error we relabled after that I started getting 4 errors saying it couldn't write to temp, src, templates_c and cache.
    runningaudit2allow -w -asaid to run```
    setsebool -P httpd_unified 1


  • i-doIT Team

    Hello brandon.mcclure,

    Thanks for sharing your solution and welcome to our forums 🙂

    In the near future we'd like to give a detailled description in our knowledge base how to use i-doit with security frameworks like SELinux. Is anyone else interested in this topic?

    Greetings,
    Ben


 


Datenschutz / Privacy Policy