error message about renaming tmp file

Created on 10 September 2007, over 17 years ago
Updated 24 February 2025, about 2 months ago

Hi,
When I try to make a backup I get the following message:

* warning: rename(drupal-backup-db-20070910173902-944336942.sql.gz) [function.rename]: failed to open stream: Permission denied in /home/sites/webhosting/robbastiaansen/itmasterclass/www/modules/backup/functions.inc.php on line 82.
* warning: rename(/tmp/drupal-backup-db-kgFW6g,drupal-backup-db-20070910173902-944336942.sql.gz) [function.rename]: Success in /home/sites/webhosting/robbastiaansen/itmasterclass/www/modules/backup/functions.inc.php on line 82.
* backup_database(): Renaming file '/tmp/drupal-backup-db-kgFW6g' to 'drupal-backup-db-20070910173902-944336942.sql.gz' failed

I have tried to change the funtions.inc.php to use a local tmp folder in my webspace, but that did not work.
When I go to the host through SSH I can create and rename files in the /tmp directory.
So I hope you can help me out with this.

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇳🇱Netherlands RobBNL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024