Espo logs are created with wrong owner permissions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bdcitsolutions
    Member
    • Apr 2018
    • 79

    Espo logs are created with wrong owner permissions

    Hi everybody,

    our Espo logs in /data/logs/ are created each day with wrong owner permissions. The owner should be "espouser:espogroup" but it is "root:root".
    Code:
    chown -R espouser:espogroup /data/logs
    helps till the next day.
    The default permissions in "/data/config.php" are correct:

    Code:
        'defaultPermissions' => [
            'user' => 10001,
            'group' => 1003
        ],
    What could be the problem?

    Best, Daniel
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    What the user runs cron.php in crontab?

    Comment

    • bdcitsolutions
      Member
      • Apr 2018
      • 79

      #3
      Originally posted by tanya
      What the user runs cron.php in crontab?
      Ah no, it was run as root... Now I've changed it, hope it helps :-)

      Comment

      Working...