File storage access

Hi, the Mattermost omnibus installation worked and I can chat normally. However, under workspace optimization, the error File storage access is faulty appears under configuration. The error Unable to write the file also often appears in the log file. Do I need to change any directory permissions?

The rights for the current data directory look like this:

total 16
drwx------ 4 root root 4096 Mar 2 10:48 .
drwxr-xr-x 3 root root 4096 Mar 2 10:44 …
drwx------ 2 root root 4096 Mar 2 10:44 backups
drwxrwxr-x 2 mattermost mattermost 4096 Mar 2 10:48 data

thank you