Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Insight] Files should not be executable #184

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

[Insight] Files should not be executable #184

overtrue opened this issue Dec 25, 2015 · 0 comments

Comments

@overtrue
Copy link
Collaborator

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 added a commit that referenced this issue Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant