Correct the file permission
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
Start by checking the tracked modes with ls -l for composer.json, .gitignore, LICENSE.md, phpunit.xml, and the PHP files under tests/CLI. Compare those modes with the other non-executable project files, then verify that the listed files no longer have executable permission.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
As title, it seems that some files don't have correct file permissions.
For example, we can see the following command output:
$ ls -al
total 104
drwxrwxr-x 6 lee lee 4096 Oct 4 09:50 ./
drwx------ 554 lee lee 36864 Oct 4 09:50 ../
-rw-rw-r-- 1 lee lee 3346 Oct 4 09:50 CODE_OF_CONDUCT.md
-rwxrwxr-x 1 lee lee 792 Oct 4 09:50 composer.json*
-rw-rw-r-- 1 lee lee 4724 Oct 4 09:50 CONTRIBUTING.md
drwxrwxr-x 8 lee lee 4096 Oct 4 09:50 .git/
drwxrwxr-x 3 lee lee 4096 Oct 4 09:50 .github/
-rwxrwxr-x 1 lee lee 53 Oct 4 09:50 .gitignore*
-rwxrwxr-x 1 lee lee 1076 Oct 4 09:50 LICENSE.md*
-rw-rw-r-- 1 lee lee 563 Oct 4 09:50 phpcs.xml
-rwxrwxr-x 1 lee lee 499 Oct 4 09:50 phpunit.xml*
-rw-rw-r-- 1 lee lee 444 Oct 4 09:50 psalm.xml
-rw-rw-r-- 1 lee lee 3870 Oct 4 09:50 README.md
drwxrwxr-x 3 lee lee 4096 Oct 4 09:50 src/
drwxrwxr-x 4 lee lee 4096 Oct 4 09:50 tests/
-rw-rw-r-- 1 lee lee 251 Oct 4 09:50 .travis.yml
ls tests/CLI/ -al
drwxrwxr-x 2 lee lee 4096 Oct 4 09:57 ./
drwxrwxr-x 4 lee lee 4096 Oct 4 09:57 ../
-rwxrwxr-x 1 lee lee 7681 Oct 4 09:57 CLITest.php*
-rwxrwxr-x 1 lee lee 3445 Oct 4 09:57 ConsoleTest.php*
-rwxrwxr-x 1 lee lee 1764 Oct 4 09:57 TaskTest.php*
As we can see, composer.json, .gitignore, LICENSE.md and phpunit.xml files should not have executable permission.
And some PHP files in the tests/CLI folder also have the same issue.
And they should be fixed.
- Linguagem predominante
- PHP
- Estrelas
- 42
- Forks
- 17
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de utopia-php/cli
-
Apply the ternary to null syntaxTalvez já em andamento @peter279k assumiu há 1103 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 45/100
utopia-php/cli#33 ·
Todas as issues de utopia-php/cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 60/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
scanaislop/aislop#476 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
components-web-app/api-components-bundle#403 ·
Mantenedores costumam responder em até 1 dia