[ticket/12962] Add file permission to script

PHPBB3-12962