WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#7327 closed defect (bug) (worksforme)

File permissions incorrect when using plugin updater

Reported by: dougal Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.6
Component: Upgrade/Install Keywords: plugins, permissions, updater, chmod, reporter-feedback
Focuses: Cc:

Description

When using the plugin upgrade feature on my site, the new files have restrictive permissions which prevent the plugin from reactivating. However, no errors are reported.

The new directories and files get 0700 (directories) or 0600 (files) permissions, i.e., drwx------ or -rw-------

Change History (5)

#1 @DD32
13 years ago

Are you currently using the FTP Method or not?

What are the permissions for the plugins folder itself (From memory, It should inherit the same permissions as the plugins folder, but that may need triple checking)

#2 @ryan
13 years ago

  • Component changed from Administration to Upgrade
  • Owner anonymous deleted

#3 @DD32
13 years ago

  • Keywords reporter-feedback added

the copy_dir() function chmod's files to 0644, folders to 0755, So this should not be an issue unless the FTP server doesnt support chmod's..

Unless the reporter comes back with more details, I'm not sure what can be done.

#4 @ryan
13 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Closing. Reopen with feedback.

#5 @thee17
12 years ago

  • Milestone 2.7 deleted
Note: See TracTickets for help on using tickets.