• Resolved vtrn

    (@vtrn)


    Hi, I noticed that the permissions of the db.php file are set to 0777.
    Isn’t this dangerous? Should I change it? Is there any problem with the change? Is this the default setting?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    How are you checking the permissions? As far as I know, the permissions on a symlink itself are irrelevant because the system always uses the permission of the target file. So in your case you should take a look at the permissions of the wp-content/plugins/query-monitor/wp-content/db.php file.

    Thread Starter vtrn

    (@vtrn)

    This file you mentioned has 0644 permissions
    But I have seen a file of your plugin in this path:
    wp-content/db.php
    Should I delete it?

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    In that case all is good. The file wp-content/db.php is a symlink to that file which allow Query Monitor to collect additional info about database queries.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘db.php Permission’ is closed to new replies.