Skip to content

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

@minkuan

Description

@minkuan

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); **

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions