mongator/mondator — pull request #3 by dpordomingo (2013-05-25 19:19:19+00:00)
Title: Restoring user defined permissions, after creating new files

It is better practice to restore user defined permissions, after creating new files; other way, they could stay in an unexpected state.

(method used in Symfony\Component\HttpFoundation\File)