Description
In eZPackage::storeString:
@chmod( $file, octdec( $filePermissions ) );
where $file is a file handle opened with fopen()
the docs on the chmod PHP function do not mention it can be used on file handles too, so I guess this is wrong, and $filename should be used instead