Make WordPress Core

Opened 2 years ago

Last modified 18 months ago

#54946 new defect (bug)

Failed to open stream: Permission denied

Reported by: grzegorzjanoszka's profile Grzegorz.Janoszka Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Upgrade/Install Keywords: reporter-feedback
Focuses: Cc:

Description

I upgraded to 5.9 yesterday (successfully) but since that time every now and then I receive an error from cron:

PHP Warning: rename(wordpress-5.9-pl_pl.zip): Failed to open stream: Permission denied in /z/wp-admin/includes/file.php on line 1201
PHP Warning: rename(/tmp/pl_PL-4Lxdqs.tmp,wordpress-5.9-pl_pl.zip): Permission denied in /z/wp-admin/includes/file.php on line 1201

All rights to WP directory, subdirectories, files and /tmp are fine.
I can't find anywhere files wordpress-5.9-pl_pl.zip nor /tmp/pl_PL-4Lxdqs.tmp,wordpress-5.9-pl_pl.zip.

The WP directory is on a different drive than /tmp.

Change History (4)

#1 @SergeyBiryukov
2 years ago

  • Keywords Permission denied removed

Hi there, welcome back to WordPress Trac! Thanks for the report.

Adjusting the keywords per Trac Workflow Keywords.

#2 @Sascha_Foerster
2 years ago

I have the same issue:

PHP Warning:  rename(/tmp/en_GB-pqZW8F.tmp,wordpress-5.9-en_gb.zip): Permission denied in /var/www/html/wordpress/wp-admin/includes/file.php on line 1201
Warning: rename(/tmp/en_GB-pqZW8F.tmp,wordpress-5.9-en_gb.zip): Permission denied in /var/www/html/wordpress/wp-admin/includes/file.php on line 1201

PHP Warning:  rename(/tmp/ar-tEJZqg.tmp,wordpress-5.9-ar.zip): Permission denied in /var/www/html/wordpress/wp-admin/includes/file.php on line 1201
Warning: rename(/tmp/ar-tEJZqg.tmp,wordpress-5.9-ar.zip): Permission denied in /var/www/html/wordpress/wp-admin/includes/file.php on line 1201

Wordpress Version 5.9, RAM 44,0/512M • SQL 267 • PHPv 7.4.27

#3 follow-up: @costdev
18 months ago

  • Keywords reporter-feedback added

@grzegorzjanoszka Did you encounter this issue when upgrading to WordPress 6.0 or 6.1?

#4 in reply to: ↑ 3 @Grzegorz.Janoszka
18 months ago

Replying to costdev:

@grzegorzjanoszka Did you encounter this issue when upgrading to WordPress 6.0 or 6.1?

No, there were no PHP warnings with version 6.

Note: See TracTickets for help on using tickets.