Import of e-mail fail...🙀

Permissions (or more precisely, in most cases, ownerships) get broken, usually, in one of 3 ways:

  • you login with a different user, edit files, or run composer, or something, and ownerships change so that your web server user can no longer read and write the files.

  • your crontab runs with a different user, makes some changes in the file system and caches, and ownerships change so that your web server user can no longer read and write the files.

  • SuiteCRM itself writes files and uses your config.php default_permissions settings, which are misconfigured, and breaks stuff

  • a bug in SuiteCRM when writing files. I know people will think “that’s the one I’m probably getting!”, but no, this is not something I would currently consider a likely event

I’m not saying you shouldn’t reset permissions - if they’re broken, then by all means, fix them. I am just saying that if your permissions keep needing to be re-set, you have something else you should be fixing first :slight_smile: