Correct the file permission
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- PHP
- 星标
- 42
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
utopia-php/cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
utopia-php/cli#33 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 3 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-2 天 新手友好度 84/100
维护者通常 2 天内回复
-
feature-request needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
aws/aws-sdk-php#3365 ·
维护者通常 1 天内回复