WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#12201 closed defect (bug)

getmyuid() is disabled - workaround — at Initial Version

Reported by: edward mindreantre Owned by: dd32
Milestone: Priority: normal
Severity: normal Version: 2.9.2
Component: Filesystem API Keywords: has-patch
Focuses: Cc:

Description

On some web hosts the getmyuid() function, used in file.php to discern whether direct access to the file system is allowed or not, is disabled. "For security reasons", whatever the fuck that might mean. How much damage can you cause with getmyuid?

This prevents people who, even though they've installed wordpress correctly via FTP and set the correct file permissions, from installing themes, plugins and upgrades.

Sad but true.

Here's a workaround.

Change History (2)

edward mindreantre4 years ago

Diff of file.php from v2.9.1

edward mindreantre4 years ago

Diff of file.php from v2.9.1

Note: See TracTickets for help on using tickets.