ZF-4422: Zend_Cache_Backend_File sets invalid permission when hashed_directory_umask or cache_file_umask passed as a string

Issue Type: Improvement Created: 2008-09-30T05:36:31.000+0000 Last Updated: 2008-11-13T14:10:24.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Stanislav Anisimov (satanistlav) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:


I am trying to load backend options from ini file and as a result all parameters are passed as a string/ Passing permission umask as a string to mkdir or chmod results unexpected permissions to be set.

Casting umask options with octdec function should fix the problem.


Posted by Fabien MARTY (fab) on 2008-09-30T09:34:34.000+0000

This is not a Zend_Cache issue (permissions umask doesn't have to be a string)

But, I understand your problem and I can probably introduce something to deal with it.

So I changed the issue type to "improvement" instead of "bug"

Posted by Fabien MARTY (fab) on 2008-10-08T10:41:28.000+0000

probably just fixed in SVN trunk

Can you try it ?

Posted by Fabien MARTY (fab) on 2008-10-27T12:10:23.000+0000

probably fixed (no news)

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:24.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.


© 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.