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

extention/network/Download.cpp一处bug #109

Open
minkuan opened this issue Oct 21, 2015 · 0 comments
Open

extention/network/Download.cpp一处bug #109

minkuan opened this issue Oct 21, 2015 · 0 comments

Comments

@minkuan
Copy link

minkuan commented Oct 21, 2015

1115行:chmod(outFileName.c_str(), 0x666);
造成下载文件的权限错误,如下:
---xr-SrwT u0_a101 u0_a101 106700 2015-10-22 01:27 111.html.tmp
导致用户本身不可读取。
拟修改为:
** chmod(outFileName.c_str(), S_IRUSR|S_IWUSR); **

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