API page: https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/_dru...

Hi folks.

The watchdog of my Drupal 7.51-based web site recorded this warning only once:

  • Type: php
  • User: Anonymous (not verified)
  • Location: URL of a public web page of the web site
  • Warning: chdir(): Permission denied (errno 13) in _drupal_shutdown_function() (line 3761 of /home/my_web_site/public_html/includes/bootstrap.inc)

The web page where the warning occurred is rendered perfectly when I visit it as an anonymous user. None of my users reported any problem with this page so far. I found out that the warning occurred when the page was accessed from a server in Taiwan, a country which is not a target of the web site.

So I guess someone was trying to gain access to the web site's administration surreptitiously, but the system (I do hope so!) did not allow him/her to.

My questions are:

  • Is this warning something I should worry about?
  • Is this a normal behaviour of Drupal core?
  • Can I be sure no one could gain unauthorized access to the administration of the web site?

My server has the following configuration:

  • Apache/2.4.23 (Unix)
  • CentOS Linux release 7.2.1511 (Core))
  • Drupal 7.51
  • PHP 5.4.45
  • MySQL 5.6.33 Community Server (GPL)

Many Thanks in advance! :)
Reis

Comments

Reis Quarteu created an issue. See original summary.

Version: 7.51 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.

quietone’s picture

Issue tags: -permission denied, -chdir, -Uncaught exception thrown in shutdown function, -bootstrap.inc