Fixed chmod
Used symfony/security