We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6433
    • 25 Posts
    Am trying to install onto server but the installer appears to be failing to recognize file permissions.

    Checking via SSH or FTP shows correct file permissions have been set (ie. assets/cache to 777) but cannot get modx installer to recognise this.

    Any tips on where to look from here? I’ve successfully installed MODx before - even 0.9.6.2 - but this is killing me!

    Thanks in advance.
    Dan
      • 6433
      • 25 Posts
      for example:
      installer returns - Checking if assets/cache directory is writable: Failed!
      Server returns - drwxrwxrwx 2 (user) (group) 4096 2008-09-22 14:10 cache

      installer is finding the directories ok, but doesn’t think it can write... hmmm.

        • 26903
        • 1,336 Posts
        Is this your only error? Do any of the checks before this fail? Before it does this check it does a file_exists check on ../assets/cache does this work?
        What are your permissions on ../assets?
          Use MODx, or the cat gets it!
        • Could you have some really uptight safe_mode configuration?
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 6433
            • 25 Posts
            it is the only error I - the server is setup pretty tightly as far as I can tell - is there some safe-mode setting I should be requesting?
              • 6433
              • 25 Posts
              and the ’file found’ check passes on each of the dirs.
                • 6433
                • 25 Posts
                Resolved - AppArmour was causing the problems - not allowing the right permissions access to the files/folders.