[wp-trac] [WordPress Trac] #33480: After upgrade to 4.3 unable to update plugins.
WordPress Trac
noreply at wordpress.org
Fri Aug 21 11:39:25 UTC 2015
#33480: After upgrade to 4.3 unable to update plugins.
-----------------------------+-----------------------------
Reporter: jobst | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3.1
Component: Upgrade/Install | Version: 4.3
Severity: major | Resolution:
Keywords: needs-patch | Focuses: administration
-----------------------------+-----------------------------
Comment (by dd32):
Unfortunately Drupals use-case is slightly different, and doesn't quite
work for us. They simply convert streams to real local paths, and then use
the PHP functions on the direct paths (from what I can tell).
In some quick testing, I've found that simply using `fopen( $file, 'a' )`
doesn't work, as even though it'll return a resource, attempting to write
to the file can still fail.
We can implement looking at the permission bits, but ACLs will get in the
way, and we'll only ever know a "You might be able to write to this file"
or "you probably can't write to this file" - neither are solid enough for
our use-cases.
I'm just going to disable it for SSH, just like we've got it disabled for
FTP.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33480#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list