davidyell / Learning-Symfony2

Learning Symfony2 by recreating a Stack Exchange website
MIT License
3 stars 0 forks source link

[Insight] Files should not be executable #9

Closed davidyell closed 10 years ago

davidyell commented 10 years ago

Your project contains files with permissive permissions. In order to avoid opening a security breach, you should restrict execution rights on following files:

  • src/Neon/ExchangeBundle/Resources/public/css/main.css
  • src/Neon/ExchangeBundle/Resources/public/img/glyphicons-halflings-white.png
  • src/Neon/ExchangeBundle/Resources/public/img/glyphicons-halflings.png
  • src/Neon/ExchangeBundle/Resources/public/js/main.js
chmod a-x 'src/Neon/ExchangeBundle/Resources/public/css/main.css' \
'src/Neon/ExchangeBundle/Resources/public/img/glyphicons-halflings-white.png' \
'src/Neon/ExchangeBundle/Resources/public/img/glyphicons-halflings.png' \
'src/Neon/ExchangeBundle/Resources/public/js/main.js'

Posted from SensioLabsInsight