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

post.cgi文件的权限问题 #1

Open
WeiHea opened this issue Sep 21, 2021 · 3 comments
Open

post.cgi文件的权限问题 #1

WeiHea opened this issue Sep 21, 2021 · 3 comments

Comments

@WeiHea
Copy link

WeiHea commented Sep 21, 2021

您好,我是用您的仓库进行学习,在运行post.cgi程序时,并不能很好的执行。
经过一段时间,发现是post.cgi文件的权限问题。

问题:单独的chmod +X post.cgi并不能赋予正确的权限。
原因:我猜测的:+X只是给所有的用户一个可执行权限,但是在执行后,是在浏览器中通过http协议进行读取,因此至少还有可读操作,我没测试只给可执行和可读操作是否可以正常运行。
解决方案:改用chmod 755 post.cgi即可。

@adskjldjlska
Copy link

你好,请问,我经过post.html表单提交数据之后,再转到post.cgi界面时是空白的并不会像image文件下的那样显示自己已经提交的数据时为什么呢,修改了post.cgi 755权限之后也是这样

@leixc-X
Copy link

leixc-X commented Feb 13, 2023

我也遇到同样的问题,post.html提交页面后是空白,775 或者+X都没有效果,请问后面有解决吗?

@wz-plus
Copy link

wz-plus commented Aug 9, 2023

@lxc1997YE 你好,请问这个问题有解决吗

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

4 participants