config.php permissions not working

Israel Torres's Avatar

Israel Torres

19 May, 2017 07:52 PM

So the config wizard needs permissions to the whole folder, for which it provides a chmod command, which I run and it doesn't return errors. The config wizard keeps on asking for the permissions after that.

dnlsrl@home:~> sudo chmod 777 /srv/www/htdocs/vendor/potsky/pimp-my-log/
root's password:
dnlsrl@home:~> ls -al /srv/www/htdocs/vendor/potsky/pimp-my-log/
total 116
drwxrwxrwx 1 root root 210 may 19 13:12 .
drwxr-xr-x 1 root root 22 may 19 13:12 ..
drwxr-xr-x 1 root root 346 abr 27 05:46 cfg
-rw-r--r-- 1 root root 1061 abr 27 05:46 composer.json
drwxr-xr-x 1 root root 80 abr 27 05:46 css
drwxr-xr-x 1 root root 514 abr 27 05:46 fonts
-rwxr-xr-x 1 root root 469 abr 27 05:46 .gitignore
-rw-r--r-- 1 root root 169 abr 27 05:46 humans.txt
drwxr-xr-x 1 root root 858 abr 27 05:46 img
drwxr-xr-x 1 root root 306 abr 27 05:46 inc
-rw-r--r-- 1 root root 37236 abr 27 05:46 index.php
drwxr-xr-x 1 root root 154 abr 27 05:46 js
drwxr-xr-x 1 root root 64 abr 27 05:46 lang
-rw-r--r-- 1 root root 35147 abr 27 05:46 licence.txt
-rw-r--r-- 1 root root 555 abr 27 05:46 README.md
-rw-r--r-- 1 root root 26 abr 27 05:46 robots.txt
-rw-r--r-- 1 root root 17731 abr 27 05:46 version.js

  1. Support Staff 1 Posted by potsky on 21 May, 2017 07:27 AM

    potsky's Avatar

    Hello,

    always the same problem with unix rights :-)

    The folder must be reachable so all these folders must be crossable (right x) :

    • /srv/www/htdocs/vendor/potsky/pimp-my-log/
    • /srv/www/htdocs/vendor/potsky/
    • /srv/www/htdocs/vendor/
    • /srv/www/htdocs/
    • /srv/www/
    • /srv/
    • /
  2. 2 Posted by Israel Torres on 22 May, 2017 03:13 PM

    Israel Torres's Avatar

    That was it. Solved. Thanks a lot.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac