CuBoulder / atlas

Website inventory and deployment agent for Web Express
https://cuboulder.github.io/atlas/
MIT License
3 stars 5 forks source link

Files in a site created from backup have no group #669

Open AlanBCole opened 3 years ago

AlanBCole commented 3 years ago

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.

AlanBCole commented 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.

AlanBCole commented 3 years ago

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.
AlanBCole commented 3 years ago

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.