Issues

ZF-12543: exception 'Zend_File_Transfer_Exception' with message 'The given destination is not writeable'

Issue Type: Bug Created: 2013-03-15T15:38:26.000+0000 Last Updated: 2013-04-05T16:06:55.000+0000 Status: Closed Fix version(s): Reporter: yvsppt (yvsppt) Assignee: None Tags: - Zend_File_Transfer

Related issues: Attachments:

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

Comments

Posted by Ralph Schindler (ralph) on 2013-04-05T16:06:55.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf1/issues/65

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts