Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

exception 'Zend_File_Transfer_Exception' with message 'The given destination is not writeable' #65

Closed
zfbot opened this Issue · 1 comment

2 participants

@zfbot
Owner

Jira Information

Original Issue: ZF-12543
Issue Type: Bug
Reporter: yvsppt
Created: 03/15/13
Assignee:
Components: Zend_File_Transfer

Description

creation of files (or directories) are permit in the directory specified by php.ini directive "upload_tmp_dir" but write on directory is forbidden (rename, move, delete)

Zend_File_Transfer_Adapter_Abstract use internal method _isPathWriteable() to check if a file can be created in its method _getTmpDir().

After tmpDir is defined, method setDestination() is called and it's simply a call to php function is_writable that return false in our case (so exception is thrown)

Why not use the same method - _isPathWriteable() which create a test file - to check if a file can be wrote in directory ?

context:
zend framework: 1.12.0 (but seems exists in 1.12.3)
php 5.4.0
os: windows server 2008

@zfbot
Owner

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF-12543

Known GitHub users mentioned in the original message or comment:

@froschdesign froschdesign was assigned
@xopherdeep xopherdeep referenced this issue from a commit in xopherdeep/Zend-Framework-v1
@froschdesign froschdesign Fixes #65 - use "_isPathWriteable" in "setDestination" method 35351c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.