Cause

This is caused by a folder created inside /var which has imperfect permissions: d-wxrwsr-T. The T sticky bit means the users can only delete the files they own but the missing executable means they cannot create files in the directory.

This is often noticed when the system creates a folder called export, that holds a folder called email, that holds a folder called archive.

To check if the directory has these misconfigured permissions, run the following command in the CLI/Terminal:

ls -ld var/export/

The output if permissions are misconfigured will be:

d-wxrwsr-T 3 web web 4096 Aug 15 19:12 var/export/

Solution

To address this, update the permissions of the folders to 777 then all the files recursively, by running the following commands:

chmod 777 var/export/
chmod 777 var/export/email/
chmod 777 var/export/email/archive/
chmod 777 -R var/export/
Previous pageAdobe Commerce 2.4.0: refresh on Customer's Activities does not work
Next pageScheduled Content Staging updates not displayed with stale Fastly cache

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more