We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18168
    • 3 Posts
    I am installing modx for first time and I have this problem:

    Comprobando que el directorio assets/images es escribible: ¡Fallo!

    And the this directory is with these permissions

    drwxrwxr-x 3 root apache 4096 sep 22 17:21 cache
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 docs
    drwxrwxr-x 2 root apache 4096 jul 30 16:17 export
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 files
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 flash
    drwxrwxrwx 2 root apache 4096 jul 30 16:17 images
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 import
    -rwxr-xr-x 1 root apache 70 feb 24 2007 index.html
    drwxr-xr-x 3 root apache 4096 jul 30 16:17 js
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 media
    drwxr-xr-x 3 root apache 4096 jul 30 16:17 modules
    drwxr-xr-x 5 root apache 4096 jul 30 16:17 plugins
    drwxr-xr-x 2 root apache 4096 jul 30 16:17 site
    drwxr-xr-x 9 root apache 4096 jul 30 16:17 snippets
    drwxr-xr-x 6 root apache 4096 jul 30 16:17 templates

    and your files have this permissions
    [root@mama images]# ls -la
    total 24
    drwxrwxrwx 2 root apache 4096 jul 30 16:17 .
    drwxr-xr-x 16 root apache 4096 jul 30 16:17 ..
    -rw-r--r-- 1 root apache 70 nov 17 2005 index.html
    -rwxr-xr-x 1 root apache 8577 jun 11 16:21 logo.png


    How to solve this error?

    Thanks you, from Chile.
      • 9207 ☆ A M B ☆
      • 2,475 Posts
      The problem might be that root shouldn’t be the owner.. try setting the images folder to be owned by apache using the chown command.
        • 15082
        • 195 Posts
        cache, export, files, flash and media should be writable too.

        Some translations of the installer don’t say that correctly and leave you thindking only images should be writable...

        Greetz
        JUSI
          • 15083
          • 697 Posts
          If root is your owner u are going to have big problems.
          It effects uploading files, ftp etc...

          Apache (or any other user for that matter) cannot modify files/dirs.
            • 18168
            • 3 Posts
            What I solve this?

            How to?

            Owner root or apache,permissiom, what?

            Other thing only with directory images there is problem!

            Your replies, I not understand huh

            Thanks you
              • 9207 ☆ A M B ☆
              • 2,475 Posts
              Change the owner of those directories to be "apache" using the "chown" command. Do you have command line access? SSH? It might be best to have someone else look at your server, especially if you’re not familiar with the command line.
                • 18168
                • 3 Posts
                Ok, now works fine! wink