segmentio/analytics-php — pull request #26 by xenph (2014-01-31 03:26:41+00:00)
Title: File permission option for file consumer

This change will allow the user to pass an optional "filepermissions" parameter to the file consumer, which will be used instead of 0777 on the chmod().

The parameter must be passed as an **octal**. Following to same conventions as the [chmod() function](http://php.net/chmod)