Open AlanBCole opened 3 years ago
Changing the group to apache did not completely take care of these issue. We had to add write permission to the apache group for the google tags directory and that worked. But not for the other errors on the status page.
error message on drush cc all
:
WD file: The file permissions could not be set on public://google_tag. [error]
WD google_tag: The directory sites/default/files/google_tag could not be prepared for use, possibly due to file system permissions. The [error]
directory either does not exist, or is not writable or searchable.
The sites created from backups are creating incorrect directory permissions in the sites/defualt/files
directory. They need to be 775
but they are 755
.
The group of these files is given as unknown. The group needs to be 'apache'. This potentially relates to any new site as well, but we definitely see this when restoring from a backup. Just check for new sites.