composer/composer — pull request #988 by till (2012-08-08 14:04:40+00:00)
Title: [WIP] Fix permissions on COMPOSER_HOME:

* The current fix is more obscure than secure
* not everyone runs Apache (or even a webserver)
* this commit ensure rwx is only for the current user
* uses a stat() call to gather 'mode', but no output yet

(Best _use-case_ for the current state of the code: I can delete the `$COMPOSER_HOME` of another user just by issuing something like, `rm -rf /home/user/.composer`.)