[Insight] Files should not be executable #184

Closed
overtrue opened this Issue Dec 25, 2015 · 0 comments

Projects

None yet

1 participant

@overtrue
Owner

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

  • .gitignore
  • .scrutinizer.yml
  • .styleci.yml
  • LICENSE
  • README.md
  • composer.json
  • examples/base.php
  • examples/config.php
  • examples/oauth/callback.php
  • examples/oauth/redirect.php
  • examples/server.php
  • phpunit.xml.dist
  • src/Application.php
  • src/Config.php
  • src/ServiceProviders/JsServiceProvider.php
  • src/ServiceProviders/MaterialServiceProvider.php
  • src/ServiceProviders/MenuServiceProvider.php
  • src/ServiceProviders/NoticeServiceProvider.php
  • src/ServiceProviders/OAuthServiceProvider.php
  • src/ServiceProviders/QRCodeServiceProvider.php
  • src/ServiceProviders/SemanticServiceProvider.php
  • src/ServiceProviders/ServerServiceProvider.php
  • src/ServiceProviders/StaffServiceProvider.php
  • src/ServiceProviders/StatsServiceProvider.php
  • src/ServiceProviders/UrlServiceProvider.php
  • src/ServiceProviders/UserServiceProvider.php
chmod a-x '.gitignore' \
    '.scrutinizer.yml' \
    '.styleci.yml' \
    'LICENSE' \
    'README.md' \
    'composer.json' \
    'examples/base.php' \
    'examples/config.php' \
    'examples/oauth/callback.php' \
    'examples/oauth/redirect.php' \
    'examples/server.php' \
    'phpunit.xml.dist' \
    'src/Application.php' \
    'src/Config.php' \
    'src/ServiceProviders/JsServiceProvider.php' \
    'src/ServiceProviders/MaterialServiceProvider.php' \
    'src/ServiceProviders/MenuServiceProvider.php' \
    'src/ServiceProviders/NoticeServiceProvider.php' \
    'src/ServiceProviders/OAuthServiceProvider.php' \
    'src/ServiceProviders/QRCodeServiceProvider.php' \
    'src/ServiceProviders/SemanticServiceProvider.php' \
    'src/ServiceProviders/ServerServiceProvider.php' \
    'src/ServiceProviders/StaffServiceProvider.php' \
    'src/ServiceProviders/StatsServiceProvider.php' \
    'src/ServiceProviders/UrlServiceProvider.php' \
    'src/ServiceProviders/UserServiceProvider.php'

Posted from SensioLabsInsight

@overtrue overtrue closed this Dec 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment