Skip to content

File security warning message shown in dashboard #2882

Closed
@brendanmckeown

Description

@brendanmckeown

I'm not quite sure why I'm getting this security notification when I login to the admin dashboard (it would be nice if it was a little more specific):
"Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider."

My file ownership and permission settings are as follows:

  • All files and directories are owned by ubuntu and have the group of www-data
  • All directory permissions are set to 770 and files set to 660, except for...
  • In pub/static, directories are set to 775 and files set to 664 -- this change was needed in order to get assets to load on the front-end.

It seems to me that all of the sensitive files (e.g. those in app/etc) are configured correctly.

Why am I still seeing this warning message?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions